Initial highlighting code.

The dust auto-escaping is causing this naive approach to fail so I will have to create a distinction between highlighted code and not-highlighted code.
This commit is contained in:
Tom Alexander
2025-02-22 15:09:00 -05:00
parent ae6f18d19c
commit b06424cb17
3 changed files with 201 additions and 7 deletions

View File

@@ -31,6 +31,8 @@ serde = { version = "1.0.189", default-features = false, features = ["std", "der
serde_json = "1.0.107"
tokio = { version = "1.30.0", default-features = false, features = ["rt", "rt-multi-thread", "fs", "io-util"] }
toml = "0.8.2"
tree-sitter-highlight = "0.25.2"
tree-sitter-nix = "0.0.2"
url = "2.5.0"
# Optimized build for any sort of release.