Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/serp-ai/html-to-markdown-converter-and-reverse

Convert HTML to Markdown, and Convert Markdown to HTML
https://github.com/serp-ai/html-to-markdown-converter-and-reverse

convert-html-to-markdown convert-markdown-to-html html-to-markdown html-to-markdown-converter markdown-to-html markdown-to-html-converter

Last synced: 1 day ago
JSON representation

Convert HTML to Markdown, and Convert Markdown to HTML

Awesome Lists containing this project

README

        

# 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:

```shell
git clone https://github.com/serp-ai/html-to-markdown-converter-and-reverse
```

2. Install the required dependencies:

```shell
pip install pandas html2text markdown
```

## Usage

Follow the instructions in the jupyter notebooks at the top!

## More

- Subscribe to our email list @ [serp.ai](https://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.