Skip to content

huoxudong125/Html2Markdown

 
 

Repository files navigation

HTML2Markdown

Converts HTML to Markdown

NuGet version Build 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

Install-Package Html2Markdown

Usage

var converter = new Converter();
var result = converter.Convert(html);

Contributing

Pull Requests

After forking the repository please create a pull request before creating the fix. This way we can talk about how the fix will be implemented. This will greatly increase your chance of your patch getting merged into the code base.

About

A library for converting HTML to markdown syntax in C#

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%