package ochre

  1. Overview
  2. No Docs
Syntax highlighter using TextMate grammars and themes

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ochre-1.1.0.tbz
sha256=a8e38fbcd22fbb68b0f7d93b36a2ba1670e8bd061b43a0177226738307183a32
sha512=7b344c3812be283b0101078564e564732f878ad226c7ce0212c9e9139fb41a291e4d31ad52c949f2978c48e04240d4d22b5b4ae63808e15a21c44a2fbeed8a22

Description

ochre is a syntax highlighter inspired by Shiki, using TextMate grammars and themes. It supports HTML output (inline styles or CSS classes), ANSI terminal colors, LaTeX, SVG, and raw token output.

Published: 16 Jul 2026

Dependencies (7)

  1. plist-xml >= "0.5.0"
  2. dune-configurator >= "2.9" & build
  3. conf-oniguruma
  4. melange-json-native >= "2.0.0"
  5. yojson >= "2.0.0"
  6. ocaml >= "4.14.0"
  7. dune >= "3.22"

Dev Dependencies (11)

  1. ocamlformat = "0.29.0" & with-dev-setup
  2. ocamlformat-mlx with-dev-setup
  3. ocamlmerlin-mlx with-dev-setup
  4. ocaml-lsp-server with-dev-setup
  5. mlx with-test
  6. alcotest with-test
  7. tm-grammars >= "2.0.0" & with-test
  8. odoc >= "3.1.0" & with-doc
  9. tiny_httpd with-test
  10. html_of_jsx >= "0.0.9" & with-test
  11. ezjsonm with-test

Used by (2)

  1. html_of_jsx >= "0.0.9"
  2. ochre-cli >= "1.1.0"

Conflicts

None