MARKDENT-HTML(1p) | User Contributed Perl Documentation | MARKDENT-HTML(1p) |
markdent-html - Turn Markdown into HTML with Markdent
version 0.39
$> markdent-html --file ./path/to/text.md
This tool turns Markdown into HTML using Markdent.
This tool accepts the following command line options:
The file containing the Markdown to process. You must provide this or "--text", but not both.
Pass "-" to read from "STDIN".
The Markdown text to process. You must provide this or "--file", but not both.
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.
If you pass with a "--title" it will be used to populate a "<meta charset="...">" tag for the document.
If you pass with a "--title" it will be used to set the "lang" attribute for the document's "<html>" tag.
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".
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".
The source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>.
Dave Rolsky <autarch@urth.org>
This software is copyright (c) 2021 by Dave Rolsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
The full text of the license can be found in the LICENSE file included with this distribution.
2021-02-24 | perl v5.32.1 |