@blocker/markdown-it-mixed-html-fix

0.1.0 • Public • Published

@blocker/markdown-it-mixed-html-fix

Fix Inline / Raw HTML tags followed by a link or image line break,

Anytime a given scenario happens:

<some-tag>foo-bar</some-tag>
![a](b.jpg)

A double line break is required between the raw HTML and the link block.

Install

npm install --save @blocker/markdown-it-mixed-html-fix
// or
yarn add @blocker/markdown-it-mixed-html-fix

Usage

const MarkdownIt = require('markdown-it')
const htmlFix = require('@blocker/markdown-it-mixed-html-fix')

const md = new MarkdownIt()
md.use(htmlFix)

Package Sidebar

Install

npm i @blocker/markdown-it-mixed-html-fix

Weekly Downloads

9

Version

0.1.0

License

MIT

Unpacked Size

9.37 kB

Total Files

15

Last publish

Collaborators

  • hernandev
  • vinicius-reis