Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/singpolyma/html2markdown

Convert HTML to Markdown in ruby
https://github.com/singpolyma/html2markdown

Last synced: 3 months ago
JSON representation

Convert HTML to Markdown in ruby

Awesome Lists containing this project

README

        

This is just a small piece of ruby code that turns HTML into Markdown-compatible text.

It is based on Nokogiri, and supports certain features of HTML5 (such as the effect sections have on headings).

Example:

HTML2Markdown.new('

test

').to_s