Skip to content

请问现在highlight.js仓库base16文件夹下高亮风格如何使用 #1202

Answered by ppoffice
Wkingxc asked this question in Q&A
Discussion options

You must be logged in to vote
  1. {hlTheme ? <link rel="stylesheet" href={cdn('highlight.js', '9.12.0', 'styles/' + hlTheme + '.css')} /> : null}
    这一行9.12.0改为11.7.0
  2. _config.yml或者_config.icarus.ymlarticle.highlight.theme设置为base16/dracula或者其他base16/*

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Wkingxc
Comment options

@ppoffice
Comment options

@Wkingxc
Comment options

Answer selected by Wkingxc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants