https://github.com/codeperfectplus/markdown_to_pdf_book
Convert your markdown files to proper book format
https://github.com/codeperfectplus/markdown_to_pdf_book
Last synced: 6 months ago
JSON representation
Convert your markdown files to proper book format
- Host: GitHub
- URL: https://github.com/codeperfectplus/markdown_to_pdf_book
- Owner: codeperfectplus
- License: mit
- Created: 2024-07-24T13:02:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-28T01:45:14.000Z (over 1 year ago)
- Last Synced: 2025-05-11T20:09:58.292Z (8 months ago)
- Language: Python
- Homepage:
- Size: 408 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Markdown To Pdf Book Converter
This is a simple python script that converts a markdown file to a pdf book. It uses the `pandoc` library to convert the markdown file to a pdf file.
## Requirements
- Python 3
- Pandoc
## Usage
To use the script, simply run the following command:
### For single book
```bash
python3 markdown_to_pdf.py --single
```
### For multiple books
```bash
python3 markdown_to_pdf.py
```
Where `` is the path to the markdown file and `` is the path to the pdf file and `--single` is an optional argument to convert a single markdown file to a pdf file.