Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Parcel plugin for markdown

Usage

yarn add --dev parcel-plugin-markdown
import md from './Markdown.md';
document.body.innerHTML = md;

Marked options

package.json

// If you want to pass options to marked
{
    "name": "ABC",
    "marked": {
        "breaks": true
    }
}

marked.config.js

// you can also create a marked.config.js
// marked options is fully supported in marked.config.js
module.exports = {
  highlight (code, lang) {
    return `[${code}]`;
  }
}

About

Parcel plugin for markdown

Resources

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •