markcat

0.2.3 • Public • Published

markcat
NPM Badge Travis Badge

markcat

Markdown files terminal viewer.

Based on marked-terminal

  • Code highlight right out of the box.
  • Based on the popular marked package.
  • Github Flavored Markdown support.
  • Renders your emojis 🎉.

Table of Contents

Install

Make sure you have Node.js version 8 or higher installed

$ npm install -g markcat

Usage

$ markcat [filename]

View Markdown files in the terminal

Options:
  --version            Show version number
  --help               Show help
  --no-gfm             Disable GitHub Flavored Markdown
  --no-tables          Disable GFM tables. This option requires the gfm option
                       to be true
  --no-breaks          Disable GFM line breaks. This option requires the gfm
                       option to be true
  -p, --pedantic       Conform to original's markdown.pl as much as possible.
                       Don't fix any of the original markdown bugs or poor
                       behavior
  -s, --sanitize       Sanitize the output. Ignore any HTML that has been input

  -S, --no-smartlists  Use smarter list behavior than the original markdown

  --smartypants        Use "smart" typographic punctuation for things like
                       quotes and dashes

Example

asciicast

License

MIT License © Joaquín Serna

Package Sidebar

Install

npm i markcat

Weekly Downloads

1

Version

0.2.3

License

MIT

Unpacked Size

20.8 kB

Total Files

8

Last publish

Collaborators

  • bubuanabelas