Command reference
editSynopsis
Meziantou.Framework.HtmlToMarkdown.Tool [options]Description
Convert HTML to Markdown using Meziantou.Framework.HtmlToMarkdown
Options
| Option | Description | Default |
|---|---|---|
--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 emphasis | Asterisk |
--heading-style <Atx\|Setext> | Style used for headings | Atx |
--code-block-style <Fenced\|Indented> | Style used for code blocks | Fenced |
--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 breaks | TrailingSpaces |
--simple-punctuation | Convert smart punctuation characters to simple ASCII punctuation | |
--emoji-shortcode-mode <GitHub\|None\|Unicode> | Mode used to convert emoji to shortcodes | None |
--unknown-element-handling <PassThrough\|Strip\|StripKeepContent> | Handling of unknown HTML elements | PassThrough |
-?, -h, --help | Show help and usage information | |
--version | Show version information |