Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arve0/markdown-it-underline
Renders _underline_ to <u>underline</u>
https://github.com/arve0/markdown-it-underline
Last synced: 8 days ago
JSON representation
Renders _underline_ to <u>underline</u>
- Host: GitHub
- URL: https://github.com/arve0/markdown-it-underline
- Owner: arve0
- Created: 2016-11-26T10:38:49.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-26T10:44:22.000Z (almost 8 years ago)
- Last Synced: 2024-10-30T12:12:14.750Z (21 days ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/markdown-it-underline
- Size: 1.95 KB
- Stars: 4
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# markdown-it-underline
Renders this markdown```md
_underline_ *emphasis*
```to this HTML
```HTML
underline emphasis
```This might not be semantic correct, but who cares :-)
See [the discussion at talk.commonmark.com](https://talk.commonmark.org/t/feature-request-underline-text/343).
## Install
```sh
npm install markdown-it-underline
```## Usage
```js
const underline = require('markdown-it-underline');
const md = require('markdown-it')().use(underline);console.log(md.renderInline('_underline_ *emphasis*'));
```## Development
Add tests in [test.js](test.js).
```sh
npm test
npm version [patch|minor|major]
npm publish
```