Export a file as HTML

rich

  • Rich CLI is a toolbox for fancy output in the terminal.
    More information: <https://github.com/Textualize/rich-cli>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

rich {{path/to/file.md}} --export-html {{path/to/file.html}}

click the source code to copy