Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Syntax highlighting on Github Pages

    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:

    Code:
    ```stata
    regress y x
    ```
    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.
    Associate Professor of Finance and Economics
    University of Illinois
    www.julianreif.com
Working...
X