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
- Host: GitHub
- URL: https://github.com/rhiokim/github-md2pdf
- Owner: rhiokim
- Created: 2019-01-11T03:49:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-29T08:25:51.000Z (over 7 years ago)
- Last Synced: 2025-02-21T15:35:53.720Z (over 1 year ago)
- Topics: cli, git, markdown, pdf, puppeteer
- Language: JavaScript
- Homepage:
- Size: 1000 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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