summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorBen Bridle <ben@derelict.engineering>2025-05-21 14:25:18 +1200
committerBen Bridle <ben@derelict.engineering>2025-05-21 19:50:09 +1200
commit060c1f23a5585a5fdabc56eda808b4cfd90f9081 (patch)
treea8bd3d2aa0e5c87528a5b7c417cf4a63edb2dbef /Cargo.toml
parentc749c1db30f2b757e63093ac39127b3e338cb704 (diff)
downloadtoaster-060c1f23a5585a5fdabc56eda808b4cfd90f9081.zip
Implement syntax highlighting for syntax fragments
A new key 'highlighters' has been added to the toaster.conf file. The value should be a line defining the languages to use that syntax for, like [py/python]. The lines following are the template definitions, as per the highlighter library.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 6479d3f..b0faa4f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,6 +9,7 @@ markdown = { git = "git://benbridle.com/markdown", tag = "v3.3.0" }
recipe = { git = "git://benbridle.com/recipe", tag = "v1.4.0" }
log = { git = "git://benbridle.com/log", tag = "v2.0.0" }
switchboard = { git = "git://benbridle.com/switchboard", tag = "v1.0.0" }
+highlight = { git = "git://benbridle.com/highlight", tag = "v1.0.0" }
[profile.release]
lto=true