Skip to content

How to change Prism syntax highlighting theme. #1687

Closed Answered by Koooooo-7
mewhz asked this question in Q&A
Discussion options

You must be logged in to vote

Basic Steps:

  • Find a prism theme css lib. such as https://www.npmjs.com/package/prism-themes.
  • Import the theme you want.
     <link href="https://cdn.jsdelivr.net/npm/prism-themes@1.9.0/themes/prism-vs.min.css" rel="stylesheet" />

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mewhz
Comment options

@trusktr
Comment options

Answer selected by Koooooo-7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1686 on December 09, 2021 02:39.