Possible Duplicate:
Interface options for specifying language prettify
I don't know how Markdown recognizes which language to use in code blocks. Sometimes it doesn't guess right. Can I specify a code block's language myself? If so, how?
Possible Duplicate:
Interface options for specifying language prettify
I don't know how Markdown recognizes which language to use in code blocks. Sometimes it doesn't guess right. Can I specify a code block's language myself? If so, how?
(Note, I'm answering the body of your question, not the title)
The tags on your question are used to determine the language for the code blocks.
I'm not sure how that works if you have multiple languages in your tags, or for code golf questions.
<!-- language:javascript -->
or <!-- language:typescript -->
Commented
Nov 9, 2022 at 16:57
<!-- language: «lang-or-tag-here» -->
in stackoverflow, ` ```«lang-or-tag-here» ` elsewhere...<!-- language: xxx -->
before code block ```, not inside.