Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/brianary/htmltomarkdown

Converts HTML to Markdown/CommonMark
https://github.com/brianary/htmltomarkdown

commonmark convert-html-to-markdown fsharp markdown powershell powershell-module

Last synced: 9 days ago
JSON representation

Converts HTML to Markdown/CommonMark

Awesome Lists containing this project

README

        

HtmlToMarkdown
==============

HtmlToMarkdown icon

[![PowerShell Edition](https://img.shields.io/badge/PSEdition-Desktop%2FCore-blue.svg)](https://www.powershellgallery.com/packages/HtmlToMarkdown/)
[![PowerShell Version](https://img.shields.io/badge/PowerShell-5.1+%20%28WPS%2FPSC%29-blue.svg)](https://www.powershellgallery.com/packages/HtmlToMarkdown/)
[![PowerShell Platform](https://img.shields.io/powershellgallery/p/HtmlToMarkdown)](https://www.powershellgallery.com/packages/HtmlToMarkdown/)
[![PowerShell Gallery Version](https://img.shields.io/powershellgallery/v/HtmlToMarkdown)](https://www.powershellgallery.com/packages/HtmlToMarkdown/)
[![PowerShell Gallery](https://img.shields.io/powershellgallery/dt/HtmlToMarkdown)](https://www.powershellgallery.com/packages/HtmlToMarkdown/)
[![Actions Status](https://github.com/brianary/HtmlToMarkdown/workflows/.NET%20Core/badge.svg)](https://github.com/AuthorName/HtmlToMarkdown/actions)

Converts HTML to Markdown/CommonMark using [ReverseMarkdown](https://github.com/mysticmind/reversemarkdown-net),
which uses the [HTML Agility Pack](https://html-agility-pack.net/).

To install: `Install-Module HtmlToMarkdown`

![example usage of HtmlToMarkdown](HtmlToMarkdown.gif)

Cmdlets
-------

Documentation is automatically generated using [platyPS](https://github.com/PowerShell/platyPS) (`.\doc.cmd`).

- [Convert-HtmlToMarkdown](docs/Convert-HtmlToMarkdown.md)

Tests
-----

Tests are written for [Pester](https://github.com/Pester/Pester) (`.\test.cmd`).