Command reference

edit

Synopsis

Meziantou.Framework.HtmlToMarkdown.Tool [options]

Description

Convert HTML to Markdown using Meziantou.Framework.HtmlToMarkdown

Options

OptionDescriptionDefault
--input <input>Path to the HTML file to convert. If omitted, reads from stdin
--output <output>Path to the Markdown file to write. If omitted, writes to stdout
--emphasis-marker <Asterisk\|Underscore>Marker used for emphasisAsterisk
--heading-style <Atx\|Setext>Style used for headingsAtx
--code-block-style <Fenced\|Indented>Style used for code blocksFenced
--code-block-fence-character <code-block-fence-character>Fence character used for fenced code blocks`
--unordered-list-marker <unordered-list-marker>Marker used for unordered lists-
--thematic-break <thematic-break>Text used for horizontal rules---
--line-break-style <Backslash\|TrailingSpaces>Style used for line breaksTrailingSpaces
--simple-punctuationConvert smart punctuation characters to simple ASCII punctuation
--emoji-shortcode-mode <GitHub\|None\|Unicode>Mode used to convert emoji to shortcodesNone
--unknown-element-handling <PassThrough\|Strip\|StripKeepContent>Handling of unknown HTML elementsPassThrough
-?, -h, --helpShow help and usage information
--versionShow version information