可以设置样式的Console.log

jopen 11年前

Console.log with style 让你通过 Console.log 显示的日志信息支持各种样式。

  • Safely call log (instead of console.log) in any browser.
  • Use markdown syntax for quick formatting:
    • italiclog('this is *italic*')
    • boldlog('this word _bold_')
    • codelog('this word `code`')
  • Use a custom syntax to style text however you want: log('this is [c="color: red"]red[c]').

可以设置样式的Console.log

项目主页:http://www.open-open.com/lib/view/home/1365860758312