GitHub Pages has integrated my Stata lexer into their platform. Any code labeled as "Stata" on your GitHub Pages site will now automatically feature syntax highlighting:
Here is a demo of the highlighter, which was written using Rouge:
https://rouge.jneen.net/v4.3.0/stata/
Here is an example of a Github Pages website that uses the highlighter. It is styled using the "thankful_eyes" theme:
https://julianreif.com/guide/
The lexer code is available on Github.
Code:
```stata regress y x ```
https://rouge.jneen.net/v4.3.0/stata/
Here is an example of a Github Pages website that uses the highlighter. It is styled using the "thankful_eyes" theme:
https://julianreif.com/guide/
The lexer code is available on Github.