Syntax highlighting on Unturned Docs

As of today, Unturned Docs now supports accurate syntax highlighting for any .dat or .asset examples we include in our documentation. No more plaintext examples! :slight_smile:

This is a custom lexer usable by Pygments—a syntax highlighter used by Unturned Docs, the SDG Wiki, and many third-party sites.

The source file is currently available from the Unturned Docs repo, which means anyone can submit improvements to it (similar to documentation pages), and you could technically use the lexer for your own syntax highlighting.

7 Likes

Yippee! :terry: :fred: :elroy: :sydney:

1 Like

Awesome :slight_smile:
:admiration_zombie_:

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.