log-with-style

0.3.0 • Public • Published

Log

Console.log with style

Demo

Features

  • 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]').

Installation

The easiest way to add log to a website is with Eager.

Support

Stylized logs are supported in the following browsers:

  • Chrome 26+
  • Firefox 31+ or with Firebug 1.11 beta 2 or later
  • Opera with Blink (15+)
  • Safari Nightly (537.38+)

Screenshot

Implementations

Readme

Keywords

none

Package Sidebar

Install

npm i log-with-style

Weekly Downloads

224

Version

0.3.0

License

MIT

Last publish

Collaborators

  • adamschwartz