Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including chapeau with all npm packages installed. Try it out:

var chapeau = require("chapeau")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

chapeau v0.1.0

Command line tool for generating pdfs from markdown files

chapeau

Markdown conversion made simple

What is chapeau?

chapeau is a Markdown to PDF conversion command-line tool, written in Node. The project is aiming to be a simple and customizable in terms of styling.

There are literally tons of Markdown to PDF tools out there, and i love some of them. But none seemed to fit me personally so i decided to make my own.

Using chapeau is really simple, it's just a tidy command-line tool. You can use your favorite editor, and more importantly use it offline, and easily convert multiple files at once.

I personally use chapeau everyday, and I hope you love it too. :black_nib:

Install

Using npm:

npm install -g chapeau

Usage

To use chapeau, simply run the chapeau command.

chapeau README.md

Or for converting multiple files you can for instance use the good ol' Unix-wildcard selector

chapeau *

chapeau will convert the markdown files (only supports .md extension at this time), to PDFs in the same directory with the same name, i.e README.md becomes README.pdf.

For the further details of the chapeau command, please enter chapeau -h or chapeau --help.

Development

I welcome every contribution on chapeau. You may start from forking and cloning this repo.

git clone git@github.com:your_username/chapeau.git

Or just help out by creating issues.

TODOs

License

Chapeau is released under the MIT License.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free