Which Stack Exchange sites have syntax highlighting enabled?
The syntax highlighting feature is enabled on the following sites:
- Arduino
- Arduino Meta
- Ask Different
- Ask Ubuntu
- Bioinformatics
- Bioinformatics Meta
- Bitcoin
- Blender
- CS50
- CS50 Meta
- Cardano
- Cardano Meta
- Chemistry
- Chemistry Meta
- Code Golf
- Code Golf Meta
- Code Review
- Computational Science
- Computer Graphics
- Computer Graphics Meta
- Computer Science
- Computer Science Educators
- Computer Science Educators Meta
- Computer Science Meta
- Craft CMS
- Craft CMS Meta
- Cross Validated
- Data Science
- Data Science Meta
- Database Administrators
- DevOps
- DevOps Meta
- Drupal Answers
- EOS.IO
- EOS.IO Meta
- Electrical Engineering
- Emacs
- Emacs Meta
- Ethereum
- Ethereum Meta
- Game Development
- Geographic Information Systems
- Graphic Design
- Graphic Design Meta
- Internet of Things
- Internet of Things Meta
- Magento
- Magento Meta
- Mathematica
- Matter Modeling
- Meta Stack Exchange
- Meta Stack Overflow
- Meta Super User
- Operations Research
- Operations Research Meta
- Programming Language Design and Implementation
- Programming Language Design and Implementation Meta
- Proof Assistants
- Quantitative Finance
- Quantitative Finance Meta
- Quantum Computing
- Quantum Computing Meta
- Raspberry Pi
- Raspberry Pi Meta
- Reverse Engineering
- Reverse Engineering Meta
- Robotics
- Salesforce
- Salesforce Meta
- Server Fault
- SharePoint
- Signal Processing
- Signal Processing Meta
- Sitecore
- Sitecore Meta
- Software Engineering
- Software Quality Assurance & Testing
- Software Quality Assurance & Testing Meta
- Stack Apps
- Stack Overflow
- Stack Overflow Meta en español
- Stack Overflow em Português
- Stack Overflow em Português Meta
- Stack Overflow en español
- Stack Overflow на русском
- Stack Overflow на русском Meta
- Stellar
- Stellar Meta
- Substrate and Polkadot
- Super User
- TeX - LaTeX
- TeX - LaTeX Meta
- Tridion
- Unix & Linux
- Vi and Vim
- Video Production
- Video Production Meta
- Webmasters
- Webmasters Meta
- WordPress Development
- スタック・オーバーフロー
- スタック・オーバーフローMeta
Note that the above list consists of per-site metas as well, as there are some sites where it's enabled on the main site but not on the corresponding per-site meta. The above list was last updated 2023-08-13; if it becomes outdated, please copy the Markdown generated by the below code snippet and replace the above list with that, and then update the date here.
The following code snippet fetches the list of sites with syntax highlighting enabled.
$.get('https://api.stackexchange.com/2.2/sites?pagesize=500&filter=!*L6SiaRiUSk*Z2zr', function(data) {
var i,
$result = $('#result'),
$md = $('#md'),
sites = [],
specials = {
biology : { mhchem: true},
chemistry: {mhchem: true },
earthscience: {mhchem: true },
electricalengineering: {delim: true},
codereview: {delim: true}
},
sec,
extra;
for(i=0; i < data.items.length; i++) {
if (data.items[i].markdown_extensions &&
data.items[i].markdown_extensions.indexOf('Prettify')>-1) //Even after the changeover to Highlight.js, the Markdown extension is still called "Prettify"
{
sites.push(data.items[i]);
}
}
sites.sort(function(l,r) { return l.name<r.name?-1:1; });
for(i = 0; i < sites.length; i = i + 1) {
$result.append(
$('<li></li>').html(sites[i].name)
);
$md.append(
$('<pre></pre>').html('1. [' + sites[i].name+'](' + sites[i].site_url.substr(sites[i].site_url.indexOf(':') + 1) + ')')
);
}
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<ol id="result">
</ol>
<div id="md">
</div>
The above snippet was originally written by rene here for fetching the list of sites with MathJax enabled, and later modified with the help of user315433 in chat to support fetching the list of sites with syntax highlighting enabled.
How do I request that syntax highlighting be enabled on [site X]?
Normally, syntax highlighting will be enabled by staff when newly creating the site, based on the scope of the site's Area 51 proposal and how strongly it is focused on programming. If it's not enabled on a given site, you can post a request on the per-site meta tagged feature-request syntax-highlighting to have it enabled in the following cases:
The site topic is primarily focused on programming, but syntax highlighting wasn't enabled due to oversight.
The site topic isn't primarily focused on programming, but the site could substantially benefit from one or more particular flavors of syntax highlighting. In this case, link to some (10 or so) posts where highlighting would be helpful in your request.
Syntax highlighting is enabled on a main site but not on its per-site meta, and you feel it's useful to have enabled on the meta site. In this case, ensure your request has the meta tag and clearly explains that it's asking about the meta site.
If there is community consensus in support of such a request, a site moderator can add the status-review tag to the meta post to escalate it for staff attention. SE staff will then evaluate the request and let you know the result.