Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evotecit/markdownprince
PowerShell module that helps converting HTML files into Markdown
https://github.com/evotecit/markdownprince
hacktoberfest html markdown powershell
Last synced: 2 months ago
JSON representation
PowerShell module that helps converting HTML files into Markdown
- Host: GitHub
- URL: https://github.com/evotecit/markdownprince
- Owner: EvotecIT
- Created: 2020-08-06T18:05:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-28T14:40:16.000Z (almost 4 years ago)
- Last Synced: 2024-10-29T21:06:10.837Z (3 months ago)
- Topics: hacktoberfest, html, markdown, powershell
- Language: PowerShell
- Homepage:
- Size: 2.51 MB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# MarkdownPrince - PowerShell Module
**MarkdownPrince** is small **PowerShell** module that helps to **convert HTML files into Markdown**.
## How to use
```powershell
ConvertFrom-HTMLToMarkdown -Path $HTMLFile -UnknownTags Drop -GithubFlavored -DestinationPath $DestinationPath
```## To install
```powershell
Install-Module -Name MarkdownPrince -AllowClobber -Force
```Force and AllowClobber aren't necessary, but they do skip errors in case some appear.
## And to update
```powershell
Update-Module -Name MarkdownPrince
```That's it. Whenever there's a new version, you run the command, and you can enjoy it. Remember that you may need to close, reopen PowerShell session if you have already used module before updating it.
**The essential thing** is if something works for you on production, keep using it till you test the new version on a test computer. I do changes that may not be big, but big enough that auto-update may break your code. For example, small rename to a parameter and your code stops working! Be responsible!
## Changelog
- 0.0.8 - 2021.03.28
- [x] Renamed cmdlet `ConvertTo-HTMLFromMarkdown` (still not functional tho)
- [x] Updated library `ReverseMarkdown` to `3.19.0`
- 0.0.7 - 07.02.2021
- Updated ReverseMarkdown.dll
- 0.0.6 - 21.08.2020
- General improvements
- 0.0.5 - 20.08.2020
- General improvements
- 0.0.4 - 20.08.2020
- `ConvertFrom-HTMLToMarkDown`
- Improvement
- 0.0.3 - 20.08.2020
- `ConvertFrom-HTMLToMarkDown`
- Tries to format markdown a bit
- Allows to remove text before and after
- 0.0.2 - 14.08.2020
- Improvements
- 0.0.1 - 8.08.2020
- First draft release## 3rd party libraries
**MarkdownPrince** uses **3rd party libraries** to deliver it's functionality
- [x] [ReverseMarkdown](https://github.com/mysticmind/reversemarkdown-net) (**MIT** License) - delivers conversion from **HTML** to **MARKDOWN**
- [x] [Markdig](https://github.com/lunet-io/markdig) (**BSD-Clause 2** license) - delivers conversion from **MAKRDOWN** to **HTML** (**not functional yet!**)Hardwork of maintainers of those projects allows you to enjoy easy to use functionality you see here.