An open API service indexing awesome lists of open source software.

https://github.com/rhiokim/github-md2pdf

PDF file generator for url-based github.com markdown to pdf
https://github.com/rhiokim/github-md2pdf

cli git markdown pdf puppeteer

Last synced: about 2 months ago
JSON representation

PDF file generator for url-based github.com markdown to pdf

Awesome Lists containing this project

README

          

# GitPDF

If you enjoy markdown on Github.com, sometime you want to generate PDF from Github markdown

## How to use

```bash
$ npm install -g gitpdf
```

```bash
$ gitpdf --help

Usage
$ gitpdf
$ gitpdf --open

Options
--url Markdown url at github.com
--css Add style tag
--open Open pdf
-o, --ouput Output path
-i, --interactive Interactive mode

Examples
$ gitpdf https://github.com/rhiokim/gitpdf/blob/master/README.md --open
$ gitpdf https://github.com/jquery/jquery/blob/master/README.md --css=./default.css
```

## TODO

- [ ] Support various options to print PDF such as margin, padding, paper size and etc
- [ ] Multiple markdown files
- [ ] Support to print PDF from any kinds of markdown page

## License

MIT