7 releases

Uses new Rust 2024

0.3.4 Dec 4, 2025
0.3.3 Oct 18, 2025
0.3.2 Sep 12, 2025
0.3.1 Jul 3, 2025
0.2.17 Mar 20, 2025

#1551 in Development tools


Used in 3 crates (2 directly)

MIT license

65KB
1.5K SLoC

This HTML to Markdown converter library is a fork of the https://gitlab.com/Kanedias/html2md repository (commit 03b8a09) under the terms of the MIT license granted to Tp-Note with commit c8bccca4.

The tpnote-html2md crate

A library to convert simple HTML documents into Markdown.

Features

Currently, supported:

  • Lists (and inner lists)
  • Headers
  • Quotes (and inner quotes)
  • Paragraphs
  • Horizontal rulers
  • Images and links
  • Tables
  • Formatting (bold, italic, strike-through, underline)
  • Code (doesn't yet detect the language)

Dependencies

~3–15MB
~137K SLoC