package ochre-cli

  1. Overview
  2. Docs
On This Page
  1. 1.0.0
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

1.1.0

  • Add built-in plaintext/text/txt languages that produce unstyled tokens without a grammar, in both the library and the CLI.
  • Add ?options and ?extra_themes to Ochre.to_string, giving the runtime-format API the same HTML capabilities as Ochre.to_html.
  • Report the real package version from ochre --version instead of a hardcoded string.
  • Preserve source line endings across tokenization, CLI input, and rendered output.
  • Reject multi-theme transforms that produce incompatible token structures.
  • Count decoration positions as Unicode scalar values instead of UTF-8 bytes.
  • Report CLI input and theme loading failures without uncaught exceptions.
  • Document all CLI flags, bundled grammars, and dual-theme HTML output in the CLI reference.
  • Deploy API documentation and dual-theme/ANSI/tokens previews to GitHub Pages.

1.0.0

  • Initial release of ochre, 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
  • Initial release of ochre-cli, a CLI tool for highlighting source code using TextMate grammars and themes