Skip to content

mrchimp/rmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS PACKAGE IS DEPRECATED

That didn't take long! rmd is dangerously close to rm and I don't want to be responsible for people deleting stuff accidentally, so I've moved this project to mdr. Sorry for any inconvenience!

rmd

Display markdown files in color.

Requirements

  • Node
  • npm (comes bundled with Node)

Usage

Install the rmd command globally

npm install -g rmd

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

  • Improve pad() implementation
  • Syntax highlighting for code blocks
  • Make paginatable - output content to less -r or something? Why doesn't this work? Colours get lost.
  • Detect italic support?

Screenshot

RMD Screenshot

About

DEPRECATED! - see mdr

Resources

Stars

Watchers

Forks

Packages

No packages published