Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rmd

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rmd - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

48

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc