From 060c1f23a5585a5fdabc56eda808b4cfd90f9081 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Wed, 21 May 2025 14:25:18 +1200 Subject: 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. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') 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 -- cgit v1.2.3-70-g09d2