parcel-plugin-md
v1.0.1
Published
parcel plugin for markdown
Downloads
6
Maintainers
Readme
parcel-plugin-md
📦 Parcel plugin for transform markdown to HTML.
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.