tag-markdown

1.1.1 • Public • Published

tag-markdown

Tagged template string function that converts Markdown to HTML

Usage

const md = require("tag-markdown")();
 
const singleLine = md`
This is test _markdown_ string :tada:
`; // => "This is test <em>markdown</em> string 🎉"
 
const byaka = "Test";
 
const multiLine = md`
                    This is ${byaka} of :wave: multiline
                    Markdown template literal tag`; // => "<p>This is Test of 👋 multiline\n<p>Markdown template literal tag"

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    4
  • 1.1.0
    0
  • 1.0.0
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i tag-markdown

Weekly Downloads

3

Version

1.1.1

License

MIT

Unpacked Size

4.01 kB

Total Files

4

Last publish

Collaborators

  • tinovyatkin