Meziantou.Framework.HtmlToMarkdown.Tool 1.0.6

Prefix Reserved
dotnet tool install --global Meziantou.Framework.HtmlToMarkdown.Tool --version 1.0.6
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Meziantou.Framework.HtmlToMarkdown.Tool --version 1.0.6
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Meziantou.Framework.HtmlToMarkdown.Tool&version=1.0.6
                    
nuke :add-package Meziantou.Framework.HtmlToMarkdown.Tool --version 1.0.6
                    

Meziantou.Framework.HtmlToMarkdown.Tool

Meziantou.Framework.HtmlToMarkdown.Tool converts HTML to Markdown using Meziantou.Framework.HtmlToMarkdown.

Install

dotnet tool install --global Meziantou.Framework.HtmlToMarkdown.Tool

Example

Convert a file to another file:

Meziantou.Framework.HtmlToMarkdown.Tool --input page.html --output page.md

Convert a file and write the result to the standard output:

Meziantou.Framework.HtmlToMarkdown.Tool --input page.html

Read the HTML from the standard input:

echo "<h1>Title</h1>" | Meziantou.Framework.HtmlToMarkdown.Tool

Configure the conversion:

Meziantou.Framework.HtmlToMarkdown.Tool --input page.html --heading-style Setext --emphasis-marker Underscore --emoji-shortcode-mode GitHub

Help

Description:
  Convert HTML to Markdown using Meziantou.Framework.HtmlToMarkdown

Usage:
  Meziantou.Framework.HtmlToMarkdown.Tool [options]

Options:
  --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 [default: Asterisk]
  --heading-style <Atx|Setext>                                     Style used for headings [default: Atx]
  --code-block-style <Fenced|Indented>                             Style used for code blocks [default: Fenced]
  --code-block-fence-character <code-block-fence-character>        Fence character used for fenced code blocks [default: `]
  --unordered-list-marker <unordered-list-marker>                  Marker used for unordered lists [default: -]
  --thematic-break <thematic-break>                                Text used for horizontal rules [default: ---]
  --line-break-style <Backslash|TrailingSpaces>                    Style used for line breaks [default: TrailingSpaces]
  --simple-punctuation                                             Convert smart punctuation characters to simple ASCII punctuation
  --emoji-shortcode-mode <GitHub|None|Unicode>                     Mode used to convert emoji to shortcodes [default: None]
  --unknown-element-handling <PassThrough|Strip|StripKeepContent>  Handling of unknown HTML elements [default: PassThrough]
  -?, -h, --help                                                   Show help and usage information
  --version                                                        Show version information
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.6 0 9/13/2026
1.0.5 35 9/11/2026
1.0.4 78 9/9/2026
1.0.3 90 9/6/2026
1.0.2 94 9/3/2026
1.0.1 105 8/30/2026
1.0.0 99 8/29/2026