Html2Markdown 7.0.1.63-beta
See the version list below for details.
dotnet add package Html2Markdown --version 7.0.1.63-beta
NuGet\Install-Package Html2Markdown -Version 7.0.1.63-beta
<PackageReference Include="Html2Markdown" Version="7.0.1.63-beta" />
paket add Html2Markdown --version 7.0.1.63-beta
#r "nuget: Html2Markdown, 7.0.1.63-beta"
// Install Html2Markdown as a Cake Addin #addin nuget:?package=Html2Markdown&version=7.0.1.63-beta&prerelease // Install Html2Markdown as a Cake Tool #tool nuget:?package=Html2Markdown&version=7.0.1.63-beta&prerelease
HTML2Markdown
Converts HTML to Markdown.
Build Status
Branch | Status |
---|---|
master |
|
develop |
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
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
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
For those interested in contributing then please read the guidelines
License
This project is licensed under Apache License 2.0.
Product | Versions 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. |
-
net8.0
- HtmlAgilityPack (>= 1.11.71)
- JetBrains.Annotations (>= 2024.3.0)
NuGet packages (8)
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 (2)
Showing the top 2 popular GitHub repositories that depend on Html2Markdown:
Repository | Stars |
---|---|
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.0.1.69-beta | 36 | 12/19/2024 |
7.0.1.68-beta | 41 | 12/18/2024 |
7.0.1.67-beta | 36 | 12/18/2024 |
7.0.1.66-beta | 65 | 12/16/2024 |
7.0.1.65-beta | 172 | 11/27/2024 |
7.0.1.64-beta | 59 | 11/27/2024 |
7.0.1.63-beta | 82 | 11/14/2024 |
7.0.1.62-beta | 73 | 11/14/2024 |
7.0.1.61-beta | 144 | 10/29/2024 |
7.0.1.60-beta | 71 | 10/29/2024 |
7.0.1.59-beta | 77 | 10/29/2024 |
7.0.1.58-beta | 81 | 10/29/2024 |
7.0.1.57-beta | 75 | 10/29/2024 |
7.0.1.56-beta | 78 | 10/29/2024 |
7.0.1.55-beta | 142 | 10/4/2024 |
7.0.1.54-beta | 73 | 10/4/2024 |
7.0.1.9 | 8,249 | 9/6/2024 |
7.0.0.53-beta | 87 | 9/6/2024 |
7.0.0.52-beta | 82 | 9/6/2024 |
7.0.0.51-beta | 84 | 9/6/2024 |
7.0.0.50-beta | 96 | 8/27/2024 |
7.0.0.49-beta | 119 | 8/23/2024 |
7.0.0.48-beta | 121 | 8/23/2024 |
7.0.0.47-beta | 111 | 8/23/2024 |
7.0.0.46-beta | 118 | 8/23/2024 |
7.0.0.8 | 1,793 | 8/15/2024 |
6.2.5.45-beta | 100 | 8/15/2024 |
6.2.5.44-beta | 98 | 8/15/2024 |
6.2.5.43-beta | 101 | 8/12/2024 |
6.2.5.7 | 1,178 | 8/7/2024 |
6.2.4.42-beta | 93 | 8/7/2024 |
6.2.4.6 | 629 | 8/2/2024 |
6.2.3.41-beta | 73 | 8/2/2024 |
6.2.3.6 | 153 | 8/2/2024 |
6.2.2.5 | 74 | 8/2/2024 |
6.2.1.40-beta | 57 | 8/2/2024 |
6.2.1.39-beta | 55 | 8/2/2024 |
6.2.1.38-beta | 58 | 8/2/2024 |
6.2.1.37-beta | 58 | 8/2/2024 |
6.2.1.4 | 10,659 | 5/7/2024 |
6.2.0.3 | 18,363 | 12/21/2023 |
6.1.0.2 | 1,246 | 12/11/2023 |
6.0.0.1 | 2,917 | 12/7/2023 |
5.1.0.703 | 181,335 | 9/26/2022 |
5.0.2.561 | 77,955 | 2/9/2022 |
5.0.1.524 | 15,354 | 12/31/2021 |
5.0.0.468 | 11,333 | 11/18/2021 |
4.0.0.427 | 71,466 | 1/20/2021 |
3.4.0.414 | 19,281 | 10/19/2020 |
3.3.1.407 | 245,008 | 2/23/2020 |
3.3.0.402 | 751 | 2/17/2020 |
3.2.3.397 | 645 | 2/16/2020 |
3.2.3.392 | 3,292 | 12/11/2019 |
3.2.1.341 | 119,215 | 1/26/2018 |
3.2.0.330 | 1,316 | 1/24/2018 |
3.1.1.325 | 2,573 | 12/7/2017 |
3.1.0.265 | 9,176 | 9/30/2017 |
3.0.1.239 | 1,371 | 9/17/2017 |
3.0.0.223 | 2,023 | 6/25/2017 |
2.1.3.17558 | 12,970 | 4/30/2017 |
2.1.2.37936 | 38,821 | 4/22/2016 |
2.1.1.21959 | 1,309 | 4/13/2016 |
2.1.1.20600 | 1,685 | 4/22/2016 |
2.0.15.17168 | 1,970 | 3/4/2016 |
2.0.14.12870 | 1,303 | 3/1/2016 |
2.0.13.18679 | 1,353 | 2/18/2016 |
2.0.12.17608 | 2,025 | 1/14/2016 |
2.0.10.25385 | 1,499 | 12/22/2015 |
2.0.9.35508 | 1,453 | 12/7/2015 |
2.0.8.21974 | 1,406 | 12/7/2015 |
2.0.7.12842 | 1,445 | 12/6/2015 |
2.0.6.11496 | 1,621 | 12/4/2015 |
2.0.5.12691 | 1,688 | 12/3/2015 |
2.0.4.28432 | 1,437 | 12/1/2015 |
2.0.3.6076 | 1,426 | 11/26/2015 |
2.0.2.40469 | 1,423 | 11/22/2015 |
2.0.1.40780 | 1,364 | 11/16/2015 |
2.0.0.36417 | 1,360 | 11/16/2015 |
1.0.7.39342 | 1,387 | 11/14/2015 |
1.0.7.9444 | 1,348 | 11/14/2015 |
1.0.6.33679 | 1,344 | 11/11/2015 |
1.0.5.35465 | 1,416 | 11/10/2015 |
1.0.4.38413 | 1,343 | 11/6/2015 |
1.0.3.11422 | 1,464 | 10/13/2015 |
1.0.2.29508 | 1,614 | 10/10/2015 |
1.0.1.10006 | 1,543 | 10/10/2015 |
1.0.0.33767 | 3,250 | 10/13/2014 |
0.0.2.15780 | 1,576 | 10/13/2014 |
0.0.1.35197 | 1,546 | 1/29/2014 |
0.0.1.11272 | 1,858 | 7/4/2013 |