parcel-plugin-md

1.0.1 • Public • Published

parcel-plugin-md

📦 Parcel plugin for transform markdown to HTML.

npm npm License

Features

This plugin is based on marked, support full-featured markdown syntax. Surppot ES6 code syntax.

Getting started

First of all, install the plugin:

npm i parcel-plugin-md --save-dev # or yarn add parcel-plugin-md --dev 

Then you can import *.md file as html string:

import mdTpl from 'README.md'
 
document.body.innerHTML = mdTpl

Alternative plugin: parcel-plugin-markdown.

License

Package Sidebar

Install

npm i parcel-plugin-md

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

161 kB

Total Files

12

Last publish

Collaborators

  • 0326