VOOZH about

URL: https://www.nuget.org/packages/Html2Markdown/

⇱ NuGet Gallery | Html2Markdown 7.1.2.20




Html2Markdown 7.1.2.20

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Html2Markdown --version 7.1.2.20
 
 
NuGet\Install-Package Html2Markdown -Version 7.1.2.20
 
 
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="Html2Markdown" Version="7.1.2.20" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Html2Markdown" Version="7.1.2.20" />
 
Directory.Packages.props
<PackageReference Include="Html2Markdown" />
 
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 Html2Markdown --version 7.1.2.20
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Html2Markdown, 7.1.2.20"
 
 
#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 Html2Markdown@7.1.2.20
 
 
#: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=Html2Markdown&version=7.1.2.20
 
Install as a Cake Addin
#tool nuget:?package=Html2Markdown&version=7.1.2.20
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

HTML2Markdown

Converts HTML to Markdown.


Build Status

Branch Status
master 👁 master
develop 👁 develop

👁 Coverage
👁 Quality Gate Status

Support

This project will currently convert the following HTML tags:-

  • <a>
  • <strong>
  • <b>
  • <em>
  • <i>
  • <br>
  • <code>
  • <h1>
  • <h2>
  • <h3>
  • <h4>
  • <h5>
  • <h6>
  • <blockquote>
  • <img>
  • <hr>
  • <p>
  • <pre>
  • <ul>
  • <ol>

Installing via NuGet

👁 NuGet version

 Install-Package Html2Markdown

Usage

Strings

var html = "Something to <strong>convert</strong>";
var converter = new Converter();
var markdown = converter.Convert(html);

Files

var path = "file.html";
var converter = new Converter();
var markdown = converter.ConvertFile(path);

Documentation

Library Documentation

Customise

Create new IScheme implementation

Create your own implementation of IScheme and construct Converter with that.

var html = "Something to <strong>convert</strong>";
var converter = new Converter(customConversionScheme);
var markdown = converter.Convert(html);

Try it

This library is showcased at http://html2markdown.bayn.es.

Contributing

License

This project is licensed under Apache License 2.0.

Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows 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 (10)

Showing the top 5 NuGet packages that depend on Html2Markdown:

Package Downloads
Terradue.Stars

Stars is a set of services for working with Spatio Temporal Catalog such as STAC but not only

Terradue.Data.Stars

Collection of data Plugins for Terradue.Stars

EPS.Extensions.YamlMarkdown

If you've ever worked on an app and you needed quick access to something that can read a Markdown file with YAML front-matter, then this is your library. Using YamlDotNet and Markdig, we take your YAML object, serialize it for you, and give you Markdown and parsed HTML for your page data.

L.52AbpPro.Blogging.Application

Package Description

SunamoMarkdown

Wrapper around Html2Markdown library

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Html2Markdown:

Repository Stars
rnwood/smtp4dev
smtp4dev - the fake smtp email server for development and testing
Meowv/Blog
🤣本项目有不同开发版本,最新版底层基于 abp vNext 搭建和免费开源跨平台框架 .NET5 进行开发,使用 MongoDB 存储数据,Redis 缓存数据。项目采用前后端分离的模式进行开发,API 遵循 RESTful 接口规范,页面使用 Blazor 进行开发,可作为 .NET Core 入门项目进行学习。If you liked `Blog` project or if it helped you, please give a star ⭐️ for this repository. 👍👍👍
whistyun/Markdown.Avalonia
render markdown with Avalonia UI
Version Downloads Last Updated
7.1.2.170-beta 119 4/14/2026
7.1.2.169-beta 102 4/14/2026
7.1.2.168-beta 103 4/14/2026
7.1.2.167-beta 99 4/14/2026
7.1.2.166-beta 100 4/14/2026
7.1.2.165-beta 97 4/14/2026
7.1.2.164-beta 105 4/14/2026
7.1.2.163-beta 98 4/14/2026
7.1.2.162-beta 136 3/11/2026
7.1.2.161-beta 114 3/11/2026
7.1.2.160-beta 106 3/11/2026
7.1.2.159-beta 104 3/4/2026
7.1.2.158-beta 107 3/4/2026
7.1.2.157-beta 105 3/4/2026
7.1.2.156-beta 104 3/4/2026
7.1.2.155-beta 125 2/16/2026
7.1.2.154-beta 110 2/16/2026
7.1.2.153-beta 115 2/14/2026
7.1.2.152-beta 109 2/14/2026
7.1.2.20 35,241 12/26/2025
Loading failed