ConvExt.HtmlToMarkdown 1.0.0-pre.0

This is a prerelease version of ConvExt.HtmlToMarkdown.
dotnet add package ConvExt.HtmlToMarkdown --version 1.0.0-pre.0
                    
NuGet\Install-Package ConvExt.HtmlToMarkdown -Version 1.0.0-pre.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ConvExt.HtmlToMarkdown" Version="1.0.0-pre.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ConvExt.HtmlToMarkdown" Version="1.0.0-pre.0" />
                    
Directory.Packages.props
<PackageReference Include="ConvExt.HtmlToMarkdown" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ConvExt.HtmlToMarkdown --version 1.0.0-pre.0
                    
#r "nuget: ConvExt.HtmlToMarkdown, 1.0.0-pre.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ConvExt.HtmlToMarkdown@1.0.0-pre.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ConvExt.HtmlToMarkdown&version=1.0.0-pre.0&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=ConvExt.HtmlToMarkdown&version=1.0.0-pre.0&prerelease
                    
Install as a Cake Tool

ConvExt.HtmlToMarkdown

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.

Features

  • 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

Build

dotnet restore
dotnet build -c Release
dotnet pack  -c Release src\ConvExt.HtmlToMarkdown\ConvExt.HtmlToMarkdown.csproj

The resulting .nupkg lands in bin\Release\AnyCPU\ConvExt.HtmlToMarkdown\.

Install in DevToys

  1. Open DevToys.
  2. Settings → Manage extensions → Install.
  3. Select the produced .nupkg.
  4. Restart DevToys.

The new tool appears under Converters with the title "HTML to Markdown".

Repository

Source: https://github.com/marcoatribeiro/DevToys.Extensions.HtmlToMarkdownConverter

License

MIT (see LICENSE — add one before publishing).

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-pre.0 214 5/26/2026