/html2markdown

Convert HTML to Markdown with Elixir

Primary LanguageHTMLMIT LicenseMIT

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.