npm.io
0.3.0 • Published 1 year ago

consolemd

Licence
ISC
Version
0.3.0
Deps
2
Size
24 kB
Vulns
0
Weekly
0
Stars
42

consolemd build status

The echomd conversion tool for browsers and console.

// overwritten in browsers if loaded without browserify
// otherwise, in CommonJS env (avoids overwrite)
var console = require('consolemd');

console.log('what a *bold* solution!');

console.log(`
# Bringing MD Like Syntax To Console
It should be something as **easy**
and as _natural_ as writing text.

> Kepp It Simple

Is the idea

  * behind
  * all this

~striking~ UX for \`shell\` users too.
- - -
#green(Enjoy)
`);

Please note if you want to use original version of a method you can console.log.raw('do *it*').

MIT Style License