carta
sdml-highlight(1)

sdml-highlight1

Syntax highlight a module source.

Usage

sdml highlight [OPTIONS] [MODULE]

Overview

Syntax highlight a module source.

This

- Ansi (default) ::

- Html ::

Arguments:

[MODULE]

SDML module, loaded using the standard resolver

Options

-f, --output-format <OUTPUT_FORMAT>

[default: ansi]

Possible values: - ansi: ANSI escape for console - html: HTML pre-formatted element - html-standalone: HTML stand-alone document

-o, --output <OUTPUT>

File name to write to, or '-' to write to stdout

[default: -]

-i, --input <INPUT>

Input SDML file name to read from, or '-' to read from stdin

[default: -]

-h, --help

Print help (see a summary with '-h')

-V, --version

Print version

From sdml 0.3.2+20250310-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.