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

rdd

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rdd

Preview your Markdown locally as it would appear on GitHub, with live updating


Version published
Weekly downloads
287
decreased by-11.15%
Maintainers
1
Weekly downloads
 
Created
Source

rdd npm Version Build Status

Preview your Markdown locally as it would appear on GitHub, with live updating

Quick start

Requires Node.js.

$ ls
README.md
$ npm i -g rdd
$ rdd -o
Serving on 0.0.0.0:8888/README.md

Here we’re using the -o flag to open the rendered Markdown document in our default web browser. The page will be updated automatically whenever we change README.md.

(rdd is short for Readme Driven Development.)

Usage

rdd [file]

Renders and serves the given Markdown document

Options:
  --help      Show help                                                [boolean]
  --version   Show version number                                      [boolean]
  --open, -o  Open the rendered Markdown document in your default web browser
                                                      [boolean] [default: false]
  --port, -p  Set the preferred port to serve the rendered document
                                                        [number] [default: 8888]
  --toc, -t   Insert a table of contents into the Markdown document
                                                      [boolean] [default: false]

Use <!-- toc --> and <!-- tocstop --> to demarcate where a table of contents should be rendered in the Markdown document. (This table of contents will be updated automatically whenever we change the document.)

To “commit” the table of contents to the document, do:

$ rdd -t

Installation

$ npm install --global rdd

Known issues

  • Syntax highlighting for code blocks (using Highlight.js) is slightly different from what GitHub actually uses

Prior art

  • Grip is a similar tool written in Python

License

MIT

Keywords

FAQs

Package last updated on 04 Jul 2019

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