Comparing version 0.0.2 to 0.0.3
@@ -42,17 +42,17 @@ #!/usr/bin/env node | ||
// Block | ||
code: chalk.white, | ||
code: chalk.black, | ||
blockquote: chalk.gray, | ||
html: chalk.bgRed.gray, | ||
headings: [ | ||
chalk.bgBlue.black.bold, | ||
chalk.bgGreen.black.bold, | ||
chalk.bgCyan.black.bold, | ||
chalk.bgMagenta.black.bold, | ||
chalk.bgYellow.black.bold, | ||
chalk.bgRed.black.bold, | ||
chalk.bgBlue.white.bold, | ||
chalk.bgGreen.white.bold, | ||
chalk.bgCyan.white.bold, | ||
chalk.bgMagenta.white.bold, | ||
chalk.bgYellow.white.bold, | ||
chalk.bgRed.white.bold | ||
], | ||
hr: chalk.white, | ||
hr: chalk.yellow, | ||
listbullet: chalk.gray, | ||
listitem: chalk.white, | ||
p: chalk.white, | ||
listitem: chalk.black, | ||
p: chalk.black, | ||
table: chalk.gray, | ||
@@ -66,5 +66,5 @@ tablerow: chalk.gray, | ||
codespan: chalk.inverse.dim.bold, | ||
del: chalk.bgBlack.gray.strikethrough, | ||
del: chalk.bgWhite.gray.strikethrough, | ||
link: chalk.underline, | ||
image: chalk.bgGreen.black.underline, | ||
image: chalk.bgYellow.black.underline, | ||
} | ||
@@ -74,17 +74,17 @@ } else { | ||
// Block | ||
code: chalk.black, | ||
code: chalk.white, | ||
blockquote: chalk.gray, | ||
html: chalk.bgRed.gray, | ||
headings: [ | ||
chalk.bgBlue.white.bold, | ||
chalk.bgGreen.white.bold, | ||
chalk.bgCyan.white.bold, | ||
chalk.bgMagenta.white.bold, | ||
chalk.bgYellow.white.bold, | ||
chalk.bgRed.white.bold | ||
chalk.bgBlue.black.bold, | ||
chalk.bgGreen.black.bold, | ||
chalk.bgCyan.black.bold, | ||
chalk.bgMagenta.black.bold, | ||
chalk.bgYellow.black.bold, | ||
chalk.bgRed.black.bold, | ||
], | ||
hr: chalk.yellow, | ||
hr: chalk.white, | ||
listbullet: chalk.gray, | ||
listitem: chalk.black, | ||
p: chalk.black, | ||
listitem: chalk.white, | ||
p: chalk.white, | ||
table: chalk.gray, | ||
@@ -98,5 +98,5 @@ tablerow: chalk.gray, | ||
codespan: chalk.inverse.dim.bold, | ||
del: chalk.bgWhite.gray.strikethrough, | ||
del: chalk.bgBlack.gray.strikethrough, | ||
link: chalk.underline, | ||
image: chalk.bgYellow.black.underline, | ||
image: chalk.bgGreen.black.underline, | ||
} | ||
@@ -103,0 +103,0 @@ } |
{ | ||
"name": "rmd", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Read markdown files in the terminal in color", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
@@ -8,3 +8,3 @@ # rmd # | ||
Once the project is ready you'll be able to do the following... | ||
Install the `rmd` command globally | ||
@@ -15,10 +15,15 @@ npm install -g | ||
rmd # Show README.md | ||
rmd foo.md -i # Use light-on-dark style | ||
rmd # Show README.md from current directory | ||
rmd foo.md -i # Use dark-on-light style | ||
rmd http://example.com/foo.md # Show foo.md from a the web | ||
rmd mrchimp/rmd -g # Show README.md from Github repo | ||
That's about it. | ||
Do `rmd -h` for more help. | ||
## Notes ## | ||
Italic and strikethrough aren't widely supported so I've made them coloured as well. They will show as italic and struck through where possible. | ||
## Coverage ## | ||
@@ -45,9 +50,4 @@ | ||
* ✘ Nested Lists | ||
## Notes ## | ||
Italic and strikethrough aren't widely supported so I've made them coloured as well. They will show as italic and struck through where possible. | ||
## Things I might get around to ## | ||
@@ -54,0 +54,0 @@ |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
15923
0