Skip to content

📦 Parcel plugin for transform markdown with prismjs hightlight to HTML.

License

Notifications You must be signed in to change notification settings

etamity/parcel-plugin-prismjs-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parcel-plugin-prismjs-md

📦 Parcel plugin for transform markdown with prismjs hightlight to HTML.

npm npm License

Features

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

Go to here to download the prismjs themes.

Getting started

First of all, install the plugin:

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

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

import README from 'README.md'

document.body.innerHTML = README

License

About

📦 Parcel plugin for transform markdown with prismjs hightlight to HTML.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published