Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
tonic + npm: node-han-css
node v4.9.1
version:
master
endpoint
share
tweet
const Han = require('node-han-css') const style = '<link href="//cdn.bootcss.com/Han/3.3.0/han.min.css" rel="stylesheet">' const html = `<article lang="zh-Hans-CN" style="background: #fff; padding: 2em"> <p>CNode技术社区</p> <p>CNode 技术社区</p> </article>` const han = await (new Han()).ready() han.render(style + html)
Created from: https://tonicdev.com/npm/node-han-css
Loading…
no comments
sign in
to comment