Skip to content

koompi/markpdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

MarkPDF

A command-line utility for converting Markdown files to beautifully styled PDF documents.

Features

  • Convert single or multiple Markdown files to PDF
  • Customized styling with professional fonts
  • Code syntax highlighting
  • Support for tables, lists, and other Markdown features
  • Automatic dependency installation

Installation

# Install system-wide
sudo ./install.sh

# To uninstall
sudo ./install.sh --uninstall

Usage

# Convert all .md files in docs/ directory
markpdf

# Convert specific files
markpdf file1.md file2.md

# Convert files matching a pattern
markpdf /path/to/docs/*.md

# Generate PDF in a specific output directory
markpdf -o output_dir file.md

Options

  • -h, --help: Display help message
  • -a, --all: Process all .md files in source directory
  • -r, --readme: Process only README.md
  • -s, --source DIR: Specify source directory (default: docs)
  • -o, --output DIR: Specify output directory
  • -i, --install: Force installation of dependencies
  • -v, --version: Display version information

Requirements

  • Node.js
  • md-to-pdf package (automatically installed if needed)

About

markdown to pdf utilities

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published