Skip to content

not work without class="language-xxxxx" #2969

Answered by RunDevelopment
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Please read our Basic usage section.

The language-xxxx class is always necessary. If you want Prism to style all code blocks without highlighting them, then add a language-none or language-plain class to the <body> of your page. For more information, see the Language inheritance section.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

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