package ochre

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ochre-1.0.0.tbz
sha256=820412863edca3173c7365cf16b4b4bad41c8fffbb4bfba8f0d87a40d4ad525b
sha512=f8a16876281504e714fe465df8a1a9894a90f06fc6cead07534722c0aa83abf955d9951e66549ac78a016e27fe8cdc5596f415e26f1c5309ee893722078f56ae

Description

ochre is a syntax highlighter inspired by Shiki, using TextMate grammars and themes to produce accurate, beautiful syntax highlighting. It supports HTML output with inline styles, ANSI terminal colors, and raw token output.

Published: 18 Apr 2026

Dependencies (7)

  1. plist-xml >= "0.5.0"
  2. dune-configurator >= "2.9" & build
  3. conf-oniguruma = "1"
  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

Conflicts

None