Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nasa8x/markdown-parser
HTML-to-Markdown converter
https://github.com/nasa8x/markdown-parser
html-to-markdown markdown markdown-converter markdown-parser
Last synced: 7 days ago
JSON representation
HTML-to-Markdown converter
- Host: GitHub
- URL: https://github.com/nasa8x/markdown-parser
- Owner: nasa8x
- Created: 2017-10-25T06:08:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-27T07:29:58.000Z (about 5 years ago)
- Last Synced: 2024-04-25T23:43:58.513Z (7 months ago)
- Topics: html-to-markdown, markdown, markdown-converter, markdown-parser
- Language: HTML
- Size: 17.6 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- project-awesome - nasa8x/markdown-parser - HTML-to-Markdown converter (HTML)
README
Javascript module Html to Markdown parser.
## Install
```js
npm install markdownparser
```## Features
Extraction of following markdown elements:
- bold
- heading
- italic
- code
- pre
- links
- images
- lists
- listsOrdered
- blockquote## Usage
```js
var Markdown = require('markdownparser');var text = Markdown.parse('
Hello world
');
// result: # Hello world```
[Markdown Editor](https://github.com/nasa8x/v-markdown-editor)
## License
The MIT License (MIT)
Copyright (c) 2017 Nasa Nguyen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.