中文
Playground
Please wait for runkit to initialize and then click the
run
button
const stylus = require("stylus");
const str = `
// your stylus code here
body
color white
`
stylus.render(str, { filename: 'playground.css' }, function(err, css){
if (err) throw err;
console.log("stylus compile result: ", css);
});