Skip to content

fikebr/markdown_to_pdf_converter

Repository files navigation

md2pdf

A command-line tool to convert Markdown files to beautifully formatted PDFs.

Features

  • Convert Markdown files to PDF with nice formatting
  • Support for code blocks, tables, and other Markdown features
  • Custom styling with a clean, modern look
  • Progress indication and error handling

Installation

  1. Clone this repository
  2. Install dependencies:
uv pip install -r requirements.txt

Usage

Basic usage:

uv run main.py input.md

Specify output file:

uv run main.py input.md -o output.pdf

Supported Markdown Features

  • Headers
  • Lists (ordered and unordered)
  • Code blocks with syntax highlighting
  • Tables
  • Links
  • Images
  • Bold and italic text

About

A command-line tool to convert Markdown files to beautifully formatted PDFs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages