Skip to content
Discussion options

You must be logged in to vote

A code block is for presenting code in a document (e.g. to talk about it). So, the HTML code block will be rendered as a <pre> element, & characters will be escaped as &amp;, and so on. A raw block, by contrast, just gets passed verbatim to the output format.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by TestTimothy
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