3.1.2 • Published 4 years ago

md2wx v3.1.2

Weekly downloads
16
License
MIT
Repository
github
Last release
4 years ago

md2wx

Convert Markdown to WeChat compatible HTML, rendered in GitHub flavor

Features

  • Convert Markdown to GitHub flavored HTML
  • Code highlighting
  • Support LaTeX via KaTeX
  • Convert LaTeX SVG to WeChat compatible PNG (copy & paste enabled!)

Installation

npm install md2wx

# or
yarn add md2wx

Usage

import md2wx from "md2wx";

renderHtml

const text = "## h2";
const highlight = true;
const html = md2wx.renderHtml(text, highlight);

convertSvgToPng

await md2wx.convertSvgToPng();
3.1.2

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.0

4 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago