htmlout:HTML 样式的控制台输出

时间:2021-06-07 08:42:21
【文件属性】:
文件名称:htmlout:HTML 样式的控制台输出
文件大小:10KB
文件格式:ZIP
更新时间:2021-06-07 08:42:21
JavaScript 输出 该库允许您使用(非常有限的)HTML 来设置控制台输出的样式。 例子 假设您在名为html的变量中有此字符串: < p> < span xss=removed> Hello! < strong> This text should be bold. < p> And then < strike> here we have struck-out text , < u> underlined text , etc. 现在我们将它传递给htmlout : htmlout ( html ) ; 输出: 您甚至可以应用样式表。 例如,假设您在名为css的变量中有以下 CSS: . info { color : blue; } . su
【文件预览】:
htmlout-master
----.gitignore(14B)
----package.json(623B)
----data()
--------extendedColors.json(4KB)
----README.md(3KB)
----demo()
--------simple.coffee(336B)
--------stylesheet.coffee(661B)
--------highlighting.js(307B)
----htmlout.js(10KB)
----test()
--------htmlout_test.coffee(5KB)

网友评论