A DevToys 2.x extension that converts HTML to Markdown.
The feature model is the Go library JohannesKaufmann/html-to-markdown. Under the hood the conversion is performed by the mature .NET library ReverseMarkdown (MIT), which exposes a configuration surface that maps almost 1:1 to the Go library's plugin set.
- GitHub-Flavored Markdown (tables, strikethrough)
- Smart link / href handling
- Configurable bullet character (
-,*,+) - Default code-block language fallback
- Unknown-tag policy: PassThrough / Drop / Bypass / Raise
- Optional removal of HTML comments
- Table-without-header handling (Default / EmptyRow)
- Smart Detection: text routed from other DevToys tools auto-fills the input
dotnet restore
dotnet build -c Release
dotnet pack -c Release src\ConvExt.HtmlToMarkdown\ConvExt.HtmlToMarkdown.csprojThe resulting .nupkg lands in bin\Release\AnyCPU\ConvExt.HtmlToMarkdown\.
- Open DevToys.
- Settings → Manage extensions → Install.
- Select the produced
.nupkg. - Restart DevToys.
The new tool appears under Converters with the title "HTML to Markdown".
Source: https://github.com/marcoatribeiro/DevToys.Extensions.HtmlToMarkdownConverter
MIT (see LICENSE — add one before publishing).