1.2.0 • Published 2 years ago

mkdcolorv2 v1.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

MKDColor V2

The new and improved™ MKDColor.

I use this in most of my projects and hated the limits and how horribly I originally coded this package so I decided to completely remake it from scratch with my new-found knowledge in javascript, nodejs and markdown.

Example use

Method #1: Using .format()

const mkd = require("mkdcolorv2");
var formattedString = mkd.format("[-bl]Black [-r]Red [-g]Green [-y]Yellow [-b]Blue [-m]Magenta [-c]Cyan [-w]White [-gr]Grey [-h]Hidden");
console.log(formattedString);

Method #1: Using .log()

const mkd = require("mkdcolorv2");
mkd.log("[-bl]Black [-r]Red [-g]Green [-y]Yellow [-b]Blue [-m]Magenta [-c]Cyan [-w]White [-gr]Grey [-h]Hidden");

Both outputs would look like this: image

Color-Block Codes

Colors: -blBlack -bBlue -cCyan -grGrey -gGreen -mMagenta -rRed -wWhite -yYellow

Special: -hHidden