Hexo-theme-next: 代码块高亮的问题还是没有解决 只是部分颜色发生改变 怎么样才能和Sublime上显示的一样 万分感谢解答

Created on 14 Nov 2016  ·  5Comments  ·  Source: iissnan/hexo-theme-next

Expected behavior (预期行为)

Actual behavior (实际行为)

Steps to reproduce the behavior (重现步骤)

NexT Informations

Add the ✔ sign before an item which is affected by this behavior.

NexT Version:

  • Master
  • Latest Release
  • Old version -

NexT Scheme:

  • All schemes
  • Muse
  • Mist
  • Pisces

Other Informations (Like Browser, System, Screenshots)

Hexo Irrelevant

Most helpful comment

'''[对应的代码语言]
'''
例如:
'''javascript
'''

All 5 comments

代码高亮模块不是该主题核心关注的部分,你的需求可以通过自定义代码高亮库完成。

'''[对应的代码语言]
'''
例如:
'''javascript
'''

'''
例如:
'''javascript
'''
这么设置代码高亮后

文本

这样设置的也跟着高亮了,怎么能不跟着?

@guardLtw dont understand u, write in English if not solved. If solved, close it please. Thank's!

站点配置文件_config.yml
highlight:
enable: true
line_number: true
auto_detect: true
tab_replace:

主题的配置文件_config.yml
修改你想要的高亮风格
highlight_theme: night bright

文章里面用这个符号```将代码包裹

Was this page helpful?
0 / 5 - 0 ratings

Related issues

YorksonChang picture YorksonChang  ·  3Comments

zhgcao picture zhgcao  ·  3Comments

payne4handsome picture payne4handsome  ·  4Comments

online picture online  ·  3Comments

Nirvanada picture Nirvanada  ·  4Comments