Comparing version 0.0.2 to 0.0.3
@@ -45,5 +45,6 @@ | ||
switch (this.token.depth) { | ||
switch (this.token.depth) { | ||
case 1: | ||
body = body.toUpperCase(); | ||
break; | ||
default: | ||
@@ -57,2 +58,6 @@ body = body.underline; | ||
case 'code': { | ||
if (!this.token.lang) { | ||
return 'CODE:'.inverse + '\n' + this.token.text + '\n'; | ||
} | ||
var body = (this.token.lang + ':').inverse + '\n'; | ||
@@ -59,0 +64,0 @@ return body + highlight.highlight(this.token.lang, this.token.text, function (type, text) { |
{ | ||
"name": "consoul", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Markdown in your console", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
182588
4802