将HTML文本转换为Markdown格式文本。由JavaScript编写
npm:
npm install md-reserve
import {MdReverse} from 'md-reverse';
const mdReserve = new MdReverse();
mdReserve.toMarkdown(`<h1>Hello World!</h1>`);
var MR = require('md-reverse');
var mdReserve = new MR.MdReverse();
mdReserve.toMarkdown(`<h1>Hello World!</h1>`);