mkdcolorv2
v1.2.0
Published
A completely overhauled version of my original mkdcolor package. Now that I know how to code properly.
Downloads
4
Readme
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:
Color-Block Codes
Colors: [-bl]Black [-b]Blue [-c]Cyan [-gr]Grey [-g]Green [-m]Magenta [-r]Red [-w]White [-y]Yellow
Special: [-h]Hidden