Skip to main content
Preview was fixed last month to match server-side rendering
Source Link

Note to editors:

Please do not edit the above list manually.

  • Just because you type something in and it looks like it's highlighted correctly does not mean the identifier actually exists in the system. Keep in mind that invalid identifiers trigger an automatic language detection in the editor preview (they will result in no highlighting in the submitted post).

  • Not all the languages supported by highlight.js are available everywhere. The set of languages available depends on how the library is built or included. This means that several languages that are indicated as supported in the above linked list are not supported by Stack Exchange's version of highlight.js, as they are in separate modules which have not been deployed on Stack Exchange.

Not all the languages supported by highlight.js are available everywhere. The set of languages available depends on how the library is built or included. This means that several languages that are indicated as supported in the above linked list are not supported by Stack Exchange's version of highlight.js, as they are in separate modules which have not been deployed on Stack Exchange.

Because of these pointsAs such, to update the list please use the script it was generated withthis script and link to thisgenerate the list and indicate you used the script (or link to another Meta post which confirms an identifier's existence) in your edit summary.

Note to commenters:

The comments on this FAQ are for requesting clarification of something you might not understand in the FAQ so that it can be fixed. Please DO NOT ask if certain languages will be supported in the future. Follow the instructions in How do I report a bug or request a new language? section to request language support.

Note to editors:

Please do not edit the above list manually.

  • Just because you type something in and it looks like it's highlighted correctly does not mean the identifier actually exists in the system. Keep in mind that invalid identifiers trigger an automatic language detection in the editor preview (they will result in no highlighting in the submitted post).

  • Not all the languages supported by highlight.js are available everywhere. The set of languages available depends on how the library is built or included. This means that several languages that are indicated as supported in the above linked list are not supported by Stack Exchange's version of highlight.js, as they are in separate modules which have not been deployed on Stack Exchange.

Because of these points, to update the list please use the script it was generated with and link to this script (or another Meta post which confirms an identifier's existence) in your edit summary.

Note to commenters:

The comments on this FAQ are for requesting clarification of something you might not understand in the FAQ so that it can be fixed. Please DO NOT ask if certain languages will be supported in the future. Follow the instructions in How do I report a bug or request a new language? section to request language support.

Note to editors:

Please do not edit the above list manually.

Not all the languages supported by highlight.js are available everywhere. The set of languages available depends on how the library is built or included. This means that several languages that are indicated as supported in the above linked list are not supported by Stack Exchange's version of highlight.js, as they are in separate modules which have not been deployed on Stack Exchange.

As such, to update the list please use this script to generate the list and indicate you used the script (or link to another Meta post which confirms an identifier's existence) in your edit summary.

Note to commenters:

The comments on this FAQ are for requesting clarification of something you might not understand in the FAQ so that it can be fixed. Please DO NOT ask if certain languages will be supported in the future. Follow the instructions in How do I report a bug or request a new language? section to request language support.

Reorder so it's clearer that meta posts shouldn't be made; it's now fixed in the editor preview too
Source Link

As noted before, Stack Exchange does not maintain this syntax highlighter (aside from installing newer versions of it), so posting bug reports or feature requests concerning it here on Meta will not get them fixed or implemented.

Keep in mind that Stack Exchange does not maintain this syntax highlighter (aside from installing newer versions of it), and posting bug reports or feature requests concerning it here on Meta will not get them fixed or implemented.

Any language identifiers used in a post that go unrecognized, are for languages that are not deployed on Stack Exchange, or are for tags that do not have a language hint specified in their data will be ignored and the code block will not be highlighted. Prior to October 2024, such identifiers would trigger an automatic language detection; however, at that time, this was changed so it no longer highlights on new and edited posts (older unedited posts weren't changed). Note that the editor preview still continues to use automatic language detection in this case; the above fix was only for submitted posts.

Keep in mind that Stack Exchange does not maintain this syntax highlighter (aside from installing newer versions of it), and posting bug reports or feature requests concerning it here on Meta will not get them fixed or implemented.

Any language identifiers used in a post that go unrecognized, are for languages that are not deployed on Stack Exchange, or are for tags that do not have a language hint specified in their data will be ignored and the code block will not be highlighted. Prior to October 2024, such identifiers would trigger an automatic language detection; however, at that time, this was changed so it no longer highlights on new and edited posts (older unedited posts weren't changed). Note that the editor preview still continues to use automatic language detection in this case; the above fix was only for submitted posts.

As noted before, Stack Exchange does not maintain this syntax highlighter (aside from installing newer versions of it), so posting bug reports or feature requests concerning it here on Meta will not get them fixed or implemented.

Any language identifiers used in a post that go unrecognized, are for languages that are not deployed on Stack Exchange, or are for tags that do not have a language hint specified in their data will be ignored and the code block will not be highlighted. Prior to October 2024, such identifiers would trigger an automatic language detection; however, at that time, this was changed so it no longer highlights on new and edited posts (older unedited posts weren't changed).

Add back removed note from earlier revision. The server-side renderer was changed, but not the client-side renderer.
Source Link

Any language identifiers used in a post that go unrecognized, are for languages that are not deployed on Stack Exchange, or are for tags that do not have a language hint specified in their data will be ignored and the code block will not be highlighted. Prior to October 2024, such identifiers would trigger an automatic language detection; however, at that time, this was changed so it no longer highlights on new and edited posts (older unedited posts weren't changed). Note that the editor preview still continues to use automatic language detection in this case; the above fix was only for submitted posts.

Note to editors:

Please do not edit the above list manually.

Not all the languages supported by highlight.js are available everywhere. The set of languages available depends on how the library is built or included. This means that several languages that are indicated as supported in the above linked list are not supported by Stack Exchange's version of highlight.js, as they are in separate modules which have not been deployed on Stack Exchange.

  • Just because you type something in and it looks like it's highlighted correctly does not mean the identifier actually exists in the system. Keep in mind that invalid identifiers trigger an automatic language detection in the editor preview (they will result in no highlighting in the submitted post).

  • Not all the languages supported by highlight.js are available everywhere. The set of languages available depends on how the library is built or included. This means that several languages that are indicated as supported in the above linked list are not supported by Stack Exchange's version of highlight.js, as they are in separate modules which have not been deployed on Stack Exchange.

As suchBecause of these points, to update the list please use the script it was generated with and link to this script (or another Meta post which confirms an identifier's existence) in your edit summary.

Note to commenters:

The comments on this FAQ are for requesting clarification of something you might not understand in the FAQ so that it can be fixed. Please DO NOT ask if certain languages will be supported in the future. Follow the instructions in How do I report a bug or request a new language? section to request language support.

Any language identifiers used in a post that go unrecognized, are for languages that are not deployed on Stack Exchange, or are for tags that do not have a language hint specified in their data will be ignored and the code block will not be highlighted. Prior to October 2024, such identifiers would trigger an automatic language detection; however, at that time, this was changed so it no longer highlights on new and edited posts (older unedited posts weren't changed).

Note to editors:

Please do not edit the above list manually.

Not all the languages supported by highlight.js are available everywhere. The set of languages available depends on how the library is built or included. This means that several languages that are indicated as supported in the above linked list are not supported by Stack Exchange's version of highlight.js, as they are in separate modules which have not been deployed on Stack Exchange.

As such, to update the list please use the script it was generated with and link to this script (or another Meta post which confirms an identifier's existence) in your edit summary.

Note to commenters:

The comments on this FAQ are for requesting clarification of something you might not understand in the FAQ so that it can be fixed. Please DO NOT ask if certain languages will be supported in the future. Follow the instructions in How do I report a bug or request a new language? section to request language support.

Any language identifiers used in a post that go unrecognized, are for languages that are not deployed on Stack Exchange, or are for tags that do not have a language hint specified in their data will be ignored and the code block will not be highlighted. Prior to October 2024, such identifiers would trigger an automatic language detection; however, at that time, this was changed so it no longer highlights on new and edited posts (older unedited posts weren't changed). Note that the editor preview still continues to use automatic language detection in this case; the above fix was only for submitted posts.

Note to editors:

Please do not edit the above list manually.

  • Just because you type something in and it looks like it's highlighted correctly does not mean the identifier actually exists in the system. Keep in mind that invalid identifiers trigger an automatic language detection in the editor preview (they will result in no highlighting in the submitted post).

  • Not all the languages supported by highlight.js are available everywhere. The set of languages available depends on how the library is built or included. This means that several languages that are indicated as supported in the above linked list are not supported by Stack Exchange's version of highlight.js, as they are in separate modules which have not been deployed on Stack Exchange.

Because of these points, to update the list please use the script it was generated with and link to this script (or another Meta post which confirms an identifier's existence) in your edit summary.

Note to commenters:

The comments on this FAQ are for requesting clarification of something you might not understand in the FAQ so that it can be fixed. Please DO NOT ask if certain languages will be supported in the future. Follow the instructions in How do I report a bug or request a new language? section to request language support.

updated info
Source Link
Meta Andrew T.
  • 13.6k
  • 5
  • 48
  • 94
Loading
added 262 characters in body
Source Link
Loading
Per post 403488, this was changed
Source Link
Loading
Rerun the script now that Julia has been added https://meta.stackexchange.com/a/400963
Source Link
zcoop98
  • 11.1k
  • 3
  • 28
  • 62
Loading
deleted 36 characters in body
Source Link
Loading
added 395 characters in body
Source Link
Loading
Add "renders as" for three examples
Source Link
Makyen
  • 26k
  • 8
  • 50
  • 87
Loading
deleted 13 characters in body
Source Link
Loading
Updated the language list from https://meta.stackexchange.com/a/372141/578924 and simplified the 2a troubleshooting section, fixed inaccuracies, updated the notes, misc. improvements
Source Link
EvgenKo423
  • 1.8k
  • 1
  • 14
  • 21
Loading
Added missing alias vhdl, vhd
Source Link
bad_coder
  • 28.5k
  • 8
  • 52
  • 136
Loading
Updated the troubleshooting section, improved spelling and formatting
Source Link
EvgenKo423
  • 1.8k
  • 1
  • 14
  • 21
Loading
Fewer words
Source Link
Loading
Remove technologically inaccurate statements derived from the referenced answer; grammar, etc.
Source Link
Makyen
  • 26k
  • 8
  • 50
  • 87
Loading
added 690 characters in body
Source Link
Loading
Put the directions for requesting new languages under the heading which says the section is going to explain that. Add a link to the current general response to all such feature requests.
Source Link
Makyen
  • 26k
  • 8
  • 50
  • 87
Loading
added 271 characters in body
Source Link
Loading
that information is no longer in this question ...
Source Link
Glorfindel Mod
  • 270.1k
  • 62
  • 676
  • 1.4k
Loading
Expanded ("psh" is way too cryptic).
Source Link
Loading
added 190 characters in body; deleted 10 characters in body
Source Link
Loading
Remove remaining references to Prettify including unused links, delete commented out text in request new lang. section
Source Link
zcoop98
  • 11.1k
  • 3
  • 28
  • 62
Loading
Bring lang list back up to date, courtesy of https://meta.stackexchange.com/questions/355638/syntax-highlighting-faq-list-updates
Source Link
zcoop98
  • 11.1k
  • 3
  • 28
  • 62
Loading
added 146 characters in body
Source Link
Loading
1
2 3 4 5 6