{"repo":"tim-gromeyer/html2md","free":true,"listed":false,"github":"https://github.com/tim-gromeyer/html2md","clone":"git clone https://github.com/tim-gromeyer/html2md.git","description":"Transform your HTML into clean, easy-to-read markdown with html2md.","language":"C++","stars":83,"topics":["html-to-markdown","html5","markdown","cpp17","cpp-library","html","python3","html2markdown","html2md"],"license":"MIT","category":"productivity","readme_excerpt":"html2md Transform your HTML into clean, easy-to-read markdown with html2md Table of Contents - What does it do - How to use this library - Supported Tags - Bindings - Requirements - License What does it do html2md is a fast and reliable C++ library for converting HTML content into markdown. It offers support for a wide range of HTML tags, including those for formatting text, creating lists, and inserting images and links. In addition, html2md is the only HTML to markdown converter that offers support for table formatting , making it a valuable tool for users who need to convert HTML tables into markdown. How to use this library CMake Install html2md. Use eighter the prebild packages from GitHub releases or build and install it yourself. Afterwards: Manually To use html2md, follow these steps: 1. Clone the library: git clone https://github.com/tim-gromeyer/html2md 2. Add the files include/html2md.h and src/html2md.cpp to your project 3. Include the html2md.h header in your code 4. Use the html2md::Convert function to convert your HTML content into markdown Here is an example of how to use the html2md::Convert function: Supported Tags html2md supports the following HTML tags: Tag Description Comment -------------- -------------------- ----------------------------------------------------- a Anchor or link Supports the href , name and title attributes. b Bold blockquote Indented paragraph br Line break cite Inline citation Same as i . code Code dd Definition data del Strikethroug","default_branch":null,"files":null,"tree":[],"storefront":"/r/tim-gromeyer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tim-gromeyer/html2md/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}