Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1.11 KB

File metadata and controls

41 lines (24 loc) · 1.11 KB

Convert HTML to Markdown & Convert Markdown to HTML

This Python script in Jupyter notebooks allows you to easily convert HTML files to Markdown format and Markdown files to HTML format. The conversion can be performed seamlessly, helping you switch between the two formats effortlessly.

Features

  • Convert HTML files to Markdown format
  • Convert Markdown files to HTML format
  • Preserve formatting, including headings, lists, tables, links, images, and more
  • Handle nested elements and complex HTML structures
  • Provide options for customizing the conversion process

Installation

  1. Clone the repository:

    git clone https://github.com/serp-ai/html-to-markdown-converter-and-reverse
  2. Install the required dependencies:

    pip install pandas html2text markdown

Usage

Follow the instructions in the jupyter notebooks at the top!

More

  • Subscribe to our email list @ serp.ai for more free stuff

Disclaimer

This script is provided as-is without any warranty. Use it at your own risk. Always backup your files before performing any conversions.