Skip to content

MRsoymilk/hexo-theme-milk

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

主题:hexo-theme-milk

预览

overview

article

使用

详情参考hexo-theme-milk wiki

进入 hexo 目录

  1. 下载主题
git clone https://github.com/MRsoymilk/hexo-theme-milk.git themes/milk
  1. 切换主题

修改_config.yml

theme: milk
  1. 代码高亮

默认使用highlight.jsmonokai-sublime主题。自定义设置请下载相应代码并放置在themes/milk/source/lib/highlight/目录中。

使用自定义主题,修改themes/milk/_config.yml

highlight: monokai-sublime

使用自定义高亮需要关闭Hexo默认高亮,修改_config.yml

highlight:
  enable: false
  line_number: true
  auto_detect: false
  tab_replace: ""
  wrap: true
  hljs: false

About

hexo theme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published