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

Read markdown files in the terminal in color

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by350%
Maintainers
1
Weekly downloads
 
Created
Source

rmd

Display markdown files in color.

Usage

Install the rmd command globally

npm install -g

Then you can do the following...

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

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

✔ = Implemented
✘ = Not implemented

  • ✔ Paragraphs / Line Breaks
  • ✔ Headers
  • ✔ Blockquotes
  • ✔ Unordered Lists
  • ✔ Lists
  • ✔ Code Blocks
  • ✔ Code
  • ✔ Horizontal Rules
  • ✔ Links
  • ✔ Emphasis
  • ✔ Strong
  • ✔ Images (outputs [$ALT_TEXT - $TITLE - $URL])
  • ✘ HTML
  • ✘ Nested Blockquotes
  • ✘ Ordered Lists (can't implement due to limitation in Marked)
  • ✘ Nested Lists

Things I might get around to

  • Look for other readme filenames - reademe.md, README.markdown, readme.md etc
  • Handle more than just utf8
  • Improve pad() implementation
  • Syntax highlighting for code blocks
  • Pass command line arguments to marked, eg, gfm, breaks,
  • Make paginatable - output content to less -r or something? Why doesn't this work? Colours get lost.
  • Detect italic support?

Keywords

FAQs

Package last updated on 23 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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