consolemd

0.2.1 • Public • Published

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

Package Sidebar

Install

npm i consolemd

Weekly Downloads

46

Version

0.2.1

License

ISC

Unpacked Size

16.1 kB

Total Files

5

Last publish

Collaborators

  • webreflection