---
name: "sdml-highlight"
section: "1"
platform: "linux"
package: "sdml"
version: "0.3.2+20250310-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://carta.tech/man/sdml-highlight"
---

# sdml-highlight(1)

Syntax highlight a module source.

## NAME

sdml highlight - Syntax highlight a module source.

## SYNOPSIS

**sdml** *highlight* \[*OPTIONS*\] \[*MODULE*\]

## DESCRIPTION

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
