Closed sc0ttj closed 5 years ago
See: https://highlightjs.org/usage/
In the markdown/mdsh:
```LANG some_command ```
should become
<pre><code class="LANG"> some_command </pre></code>
..where LANG is bash, php, javascript, etc.
LANG
bash
php
javascript
(full list: https://highlightjs.readthedocs.io/en/latest/css-classes-reference.html)
Done, but using Pygments at build time, rather than highlight.js at run-time (client-side)...
Pygments
highlight.js
See: https://highlightjs.org/usage/
In the markdown/mdsh:
should become
<pre><code class="LANG"> some_command </pre></code>
..where
LANG
isbash
,php
,javascript
, etc.(full list: https://highlightjs.readthedocs.io/en/latest/css-classes-reference.html)