Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sindresorhus/gulp-markdown-pdf
Markdown to PDF
https://github.com/sindresorhus/gulp-markdown-pdf
converter gulp-plugin javascript markdown markdown-pdf nodejs pdf
Last synced: 3 months ago
JSON representation
Markdown to PDF
- Host: GitHub
- URL: https://github.com/sindresorhus/gulp-markdown-pdf
- Owner: sindresorhus
- License: mit
- Created: 2013-12-31T21:10:02.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2023-11-01T18:46:50.000Z (about 1 year ago)
- Last Synced: 2024-04-13T17:39:56.521Z (8 months ago)
- Topics: converter, gulp-plugin, javascript, markdown, markdown-pdf, nodejs, pdf
- Language: JavaScript
- Size: 25.4 KB
- Stars: 65
- Watchers: 6
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# gulp-markdown-pdf
> Markdown to PDF with [`markdown-pdf`](https://github.com/alanshaw/markdown-pdf)
*Issues with the output should be reported on the `markdown-pdf` [issue tracker](https://github.com/alanshaw/markdown-pdf/issues).*
## Install
```sh
npm install --save-dev gulp-markdown-pdf
```## Usage
```js
import gulp from 'gulp';
import markdownPdf from 'gulp-markdown-pdf';export default () => (
gulp.src('intro.md')
.pipe(markdownPdf())
.pipe(gulp.dest('dist'))
);
```## API
### markdownPdf(options?)
See the `markdown-pdf` [options](https://github.com/alanshaw/markdown-pdf#options).