1.0.0 • Published 11 months ago

marked-plus-ts v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

marked-plus

A markdown parser and compiler. Built for speed.Integrate Vue framework based on the Marked.

marked-plus based on the Marked. You can use marked-plus just like Marked.

  • ⚡ built for speed
  • ⬇️ low-level compiler for parsing markdown without caching or blocking for long periods of time
  • :derelict_house: Support for markdown to VNode
  • :+1: Seamless compatibility with Marked

Install

npm install marked-plus

Original functions of Marked

You can use Marked2vue just like Marked,Marked Doc:Marked Documentation

import { marked } from '@marked/marked-plus';

marked.use({
  pedantic: false,
  gfm: true,
  breaks: false,
  sanitize: false,
  smartypants: false,
  xhtml: false
});

const html = marked.parse('# Marked in Node.js\n\nRendered by **marked**.');

Extended functionality

marked-plus allows for custom parsers, which means allowing users to extend parsing capabilities, allowing Markedplus to not only convert markup language to HTML strings, but also transform Markedplus to support the conversion of markup language to virtual DOM through plugins.

1.0.0

11 months ago