xiangming / landscape-plus

针对中国大陆地区对hexo官方主题landscape进行优化。
http://xiangming.github.io/landscape-plus/
MIT License
508 stars 107 forks source link

代码高亮 #97

Closed ruoyi0531 closed 8 years ago

ruoyi0531 commented 8 years ago

代码高亮如何配置呢?

xiangming commented 8 years ago

在你hexo的_config.yml里面配置你的代码高亮。

highlight:
  enable: true
  line_number: true
  auto_detect: true
  tab_replace:

然后写代码时候,使用正确的markdown语法。