remark runkit

node v14.20.1
version: master
endpointsharetweet
var unified = require('unified') var parse = require('remark-parse') var remark2rehype = require('remark-rehype') var stringify = require("rehype-stringify") var doc = '[Unicode](https://räksmörgås.josefsson.org), [Punycode](https://xn--rksmrgs-5wao1o.josefsson.org).' var res = unified() .use(parse) .use(remark2rehype) .use(stringify) .processSync(doc) .toString() res
Loading…

no comments

    sign in to comment