https://github.com/be-hase/markdown-to-pdf
Convert markdown-file to pdf-file
https://github.com/be-hase/markdown-to-pdf
Last synced: 3 months ago
JSON representation
Convert markdown-file to pdf-file
- Host: GitHub
- URL: https://github.com/be-hase/markdown-to-pdf
- Owner: be-hase
- Created: 2014-05-05T17:26:28.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-05T17:46:21.000Z (about 11 years ago)
- Last Synced: 2025-01-18T08:18:09.988Z (4 months ago)
- Language: CSS
- Size: 141 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
By using the grunt-markdown-pdf(https://www.npmjs.org/package/grunt-markdown-pdf), I was able to convert markdown-file to PDF-file easily. (like Github's design)
## Install
### 1, Install node.js
http://nodejs.org
### 2, Git clone the repository.
```
// cd
git clone [email protected]:be-hase/markdown-to-pdf.git
```### 3, Run `npm install` in the directory you cloned
```
npm install
```Now complete.
## How to make a PDF
```
grunt
```OK if you run with.
## By monitoring the file, to make the PDF automatically when the file is the save
```
grunt watch
```If you run this command, to start the file monitoring.
### When you want to include a image in the PDF
Please place the image on the assets / images.
And then, enter in the notation of markdown,```

```(Because absolute path of the directory is different from each user, before converting to markdown to HTML, replace "{{assets}}" with the appropriate absolute path.)