Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 377 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 377 Bytes

Html2Markdown

Extract the content from an HTML document to Markdown (removing non-content sections and tags)

Installation

Add html2markdown to your list of dependencies in mix.exs:

def deps do
  [
    {:html2markdown, "~> 0.1.5"}
  ]
end

Usage

Html2Markdown.convert(html)

Docs can be found at https://hexdocs.pm/html2markdown.