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

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

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.