Forrest logo
tool overview
On this page you find all important commands for the CLI tool highlight. If the command you are looking for is missing please ask our AI.

highlight

Highlight is a command line tool that helps users quickly identify and highlight specific terms or patterns in text files. It is primarily used for searching and manipulating large sets of text data efficiently. The tool supports various highlighting techniques and customization options. Users can specify the desired color and formatting style for the highlighted terms. It also offers regular expression support, allowing users to define complex search patterns. Highlight is compatible with multiple platforms, including Linux, macOS, and Windows. The tool can handle various file formats, including plain text, code files, and log files. It provides options for case sensitivity and toggling between multiple matches. Highlight is often used by programmers, data analysts, and system administrators to parse and extract key information from logs or analyze large text files quickly.

List of commands for highlight:

  • highlight:tldr:1b6e7 highlight: Produce an HTML fragment, suitable for inclusion in a larger document.
    $ highlight --out-format=${html} --fragment --syntax ${language} ${source_file}
    try on your machine
    explain this command
  • highlight:tldr:291b6 highlight: List all supported languages, themes, or plugins.
    $ highlight --list-scripts ${select}
    try on your machine
    explain this command
  • highlight:tldr:48e57 highlight: Produce a complete HTML document from a source code file.
    $ highlight --out-format=${html} --style ${theme_name} --syntax ${language} ${path-to-source_code}
    try on your machine
    explain this command
  • highlight:tldr:760f9 highlight: Print a CSS stylesheet for a theme.
    $ highlight --out-format=${html} --print-style --style ${theme_name} --syntax ${language}] --stdout
    try on your machine
    explain this command
  • highlight:tldr:a538e highlight: Inline the CSS styling in every tag.
    $ highlight --out-format=${html} --inline-css --syntax ${language} ${source_file}
    try on your machine
    explain this command
tool overview