Neopolitan Tree-Sitter Parser, Syntax Highlighter, And Inline Code Runner
Head's up that this is still very much a "works on my machine" level project.
Introduciton
Neopolitan is the plain-text format I designed to manage website content. This page is the documentation for an accompaning tree-sitter plugin.
The plugin offers two features:
-
syntax highlighting
-
inline code block execution
Syntax Highlighting
Highlighting for the primary sections is in place. I don't use much highlighting for the core of the docs, but I've got code blocks set up to highlight properly for whatever language they are. Here's a sample:
