not work without class="language-xxxxx" #2969
-
i hope it like github : |
Beta Was this translation helpful? Give feedback.
Answered by
RunDevelopment
Jun 26, 2021
Replies: 1 comment 1 reply
-
Please read our Basic usage section. The |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 alanguage-none
orlanguage-plain
class to the<body>
of your page. For more information, see the Language inheritance section.