marked-terminal
Advanced tools
Comparing version 3.2.0 to 3.3.0
@@ -201,3 +201,9 @@ "use strict"; | ||
if (supportsHyperlinks.stdout) { | ||
out = ansiEscapes.link(text?this.emoji(text):href, href); | ||
let link = '' | ||
if(text){ | ||
link = this.o.href(this.emoji(text)) | ||
}else{ | ||
link = this.o.href(href) | ||
} | ||
out = ansiEscapes.link(link, href); | ||
}else{ | ||
@@ -204,0 +210,0 @@ if (hasText) out += this.emoji(text) + ' ('; |
{ | ||
"name": "marked-terminal", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "A custom render for marked to output to the Terminal", | ||
@@ -22,3 +22,3 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"marked": "^0.4.0 || ^0.5.0 || ^0.6.0" | ||
"marked": "^0.4.0 || ^0.5.0 || ^0.6.0 || ^0.7.0" | ||
}, | ||
@@ -37,3 +37,3 @@ "dependencies": { | ||
"devDependencies": { | ||
"marked": "^0.6.0", | ||
"marked": "^0.7.0", | ||
"mocha": "^5.2.0" | ||
@@ -40,0 +40,0 @@ }, |
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
18526
410