MARKDENT-HTML(1p)
β¨ markdent-html(1p) β¨
okay so bestie, you're holding the manual page for markdent-html, a lil command-line baddie from the Markdent crew that turns your Markdown into HTML. she's giving "user contributed perl documentation" and honestly? she ate. π
πΈ VERSION πΈ
version 0.40 β yes queen, that's the one we're on. β¨
π SYNOPSIS π
like, the whole vibe in one line:
$> markdent-html --file ./path/to/text.md
periodt. that's it. that's the tweet. π¦
π DESCRIPTION π
This tool turns Markdown into HTML using Markdent. no cap, that's literally the entire job description and she does it flawlessly. π
π OPTIONS π
she accepts the following command line options, and you're gonna want to know every single one of them, so let's go:
π --file
The file containing the Markdown to process. You must provide this or --text, but not both. (pick a lane, bestie π)
Pass - to read from STDIN. yes, a single lil dash. iconic behavior.
π§ --text
The Markdown text to process. You must provide this or --file, but not both.
π¦ --title
If you pass this 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 an HTML fragment with no <html> or <body> tags.
so basically: no --title, no full doc. just the fragment. lowkey minimal of her, highkey valid. π
πΈ --charset
If you pass this with a --title it will be used to populate a <meta charset="..."> tag for the document.
(notice how she said with a --title? yeah, she needs the title first. the charset is the plus-one. π«Ά)
π --language
If you pass this with a --title it will be used to set the lang attribute for the document's <html> tag.
again β it's a package deal with --title. they're a duo. main character energy only when the title shows up. β¨
β --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.
so like, Markdent::Dialect::GitHub if you're feeling formal, or just GitHub if you're texting her from bed. both work. π
π₯ SUPPORT π₯
Bugs may be submitted at https://github.com/houseabsolute/Markdent/issues. (tell her what's wrong, she can take it π)
I am also usually active on IRC as 'autarch' on irc://irc.perl.org. come say hi, fr fr.
π SOURCE π
The source code repository for Markdent can be found at https://github.com/houseabsolute/Markdent. go snoop, you know you want to. π
π AUTHOR π
Dave Rolsky <autarch@urth.org> β the legend herself. π«Ά
π COPYRIGHT AND LICENSE π
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.
okay bestie, real talk: it's free software, the same terms as Perl 5 itself, and if you want the whole legal essay it's sitting right there in the LICENSE file. read it, love it, respect it. π
and that's the page!! π¦ written by us, perl v5.32.1, dated 2021-08-31 β go forth and convert some Markdown, you absolute icon. mwah. πβ¨
π¦ where this page comes from
- debian bookworm: markdent 0.40-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: markdent 0.40-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: markdent 0.40-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms