logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

markdent-html - Turn Markdown into HTML with Markdent

Author

       Dave Rolsky <autarch@urth.org>

Description

       This tool turns Markdown into HTML using Markdent.

Name

       markdent-html - Turn Markdown into HTML with Markdent

Options

       This tool accepts the following command line options:

   --file
       The file containing the Markdown to process. You must provide this or "--text", but not both.

       Pass "-" to read from "STDIN".

   --text
       The Markdown text to process. You must provide this or "--file", but not both.

   --title
       If you pass then the output will be a full HTML document containing this as the "<title>" tag. If this
       isn't passed then the output will be a HTML fragment with no "<html>" or "<body>" tags.

   --charset
       If you pass with a "--title" it will be used to populate a "<meta charset="...">" tag for the document.

   --language
       If you pass with a "--title" it will be used to set the "lang" attribute for the document's "<html>" tag.

   --dialects
       You can add one or more dialects to the standard parser with this option. This can either be a full class
       name like "Markdent::Dialect::GitHub" or just a short name like "GitHub".

Source

       The source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>.

Support

       Bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues>.

       I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".

Synopsis

           $> markdent-html --file ./path/to/text.md

Version

       version 0.40

See Also