1.0.3 • Published 5 months ago

marked-hard-breaks v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

marked-hard-breaks

Force any number blank lines between paragraphs.

Inserting blanks

This extensions expects a : at the start of a line. Multiple colons are executed as multiple lines.

Usage

const marked = require("marked");
const markedHardBread = require("marked-justified-paragraphs");

marked.use(markedJustifiedParagraphsHardBreaks());

const html = marked.parse("Hello\n:::New paragraph");
console.log(html);
//<p>Hello</p>\n<br><br><br>\n<p>New paragraph</p>\n
1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago