fabiodrg / marked-mermaid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TODO:

  • Replace information in /README.md
  • Replace information in /package.json
  • Write extension in /src/index.js
  • Write tests in /spec/index.test.js
  • Uncomment release in /.github/workflows/main.yml

marked-|this-extension|

Usage

const marked = require("marked");
const |thisExtension| = require("marked-|this-extension|");

// or ES Module script
// import marked from "https://cdn.jsdelivr.net/gh/markedjs/marked/lib/marked.esm.js";
// import this extension from "https://cdn.jsdelivr.net/gh/UziTech/marked-|this-extension|/lib/index.mjs";

const options = {
	// |default options|
};

marked.use(|thisExtension|(options));

marked("|example markdown|");
// <p>|example html|</p>

options

About

License:MIT License


Languages

Language:JavaScript 100.0%