highlight Verified for current stable LTS

Highlight Command: Produce A Complete HTML Document From A Source Code File

Use for Produce a complete HTML document from a source code file with Highlight. Exact CLI syntax to Produce a complete HTML document from a source code file using Highlight.

When to use this: Use for Produce a complete HTML document from a source code file with Highlight.

Command Syntax

highlight -o <html> -s <theme_name> -S <language> <path/to/source_code>

Command Breakdown

-o
Command Option
Tool-specific option used by this command invocation.
-s
Command Option
Tool-specific option used by this command invocation.
-S
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to Produce a complete HTML document from a source code file using Highlight.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Highlight directory