feat add hilite and textmate-language dependencies

Add server-side syntax highlighting libraries as dependencies: - hilite (>= 0.5.0): HTML generation from TextMate grammar tokens - textmate-language (>= 0.6.0): TextMate grammar parsing and tokenization These will replace the client-side highlight.js dependency.

Commit
b59d4400bfe7433d17d06b88016be01097c5295e
Author
Marius Peter <dev@marius-peter.com>
Author date
Committer
Marius Peter <dev@marius-peter.com>
Committer date
Changed files
dune-project
index 9a6df747..d657627c 100644..100644
@@ -25,7 +25,9 @@
25 25 (crunch (>= 4.0.0))
26 26 (ocamlformat (and :with-dev-setup (= 0.29.0)))
27 27 (alcotest (and :with-test (>= 1.7.0)))
28 Removed: (toml (>= 7.1.0)))
28 Added: (toml (>= 7.1.0))
29 Added: (hilite (>= 0.5.0))
30 Added: (textmate-language (>= 0.6.0)))
29 31 (tags
30 32 (git "web interface")))
31 33
lib/dune
index 24cbfd10..4095b024 100644..100644
@@ -7,7 +7,7 @@
7 7 ;; Public so that `dune build @doc` documents its modules: odoc skips
8 8 ;; private libraries, which would leave the generated documentation empty.
9 9 (public_name ogit)
10 Removed: (libraries dream dream-html git-unix toml)
10 Added: (libraries dream dream-html git-unix toml hilite textmate-language)
11 11 (preprocess
12 12 (pps dream-html.ppx)))
13 13
ogit.opam
index c8bddd70..1c456ee6 100644..100644
@@ -18,6 +18,8 @@
18 18 "ocamlformat" {with-dev-setup & = "0.29.0"}
19 19 "alcotest" {with-test & >= "1.7.0"}
20 20 "toml" {>= "7.1.0"}
21 Added: "hilite" {>= "0.5.0"}
22 Added: "textmate-language" {>= "0.6.0"}
21 23 "odoc" {with-doc}
22 24 ]
23 25 build: [