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
- Blender
- CS50
- CS50 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
- Quantitative Finance
- Quantitative Finance Meta
- Raspberry Pi
- Raspberry Pi Meta
- Robotics
- Salesforce
- Salesforce Meta
- Server Fault
- SharePoint
- 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 2022-04-27; 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]?
This feature is enabled on sites with a relatively strong focus on programming. Normally, it will be enabled by staff when newly creating the site, based on the scope of the site's Area 51 proposal. If for some reason it's not enabled on a site where it should be, post a request on the site's per-site meta.
If a topic isn't primarily focused on programming but could substantially benefit from a particular flavor of syntax highlighting, post a request on the site's per-site meta and link to some (10 or so) posts where highlighting would be helpful. SE staff will then evaluate the request and let you know the result.
If 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, post the request on the per-site meta itself and tag it meta.