Skip to content

lovstudio/any2pdf-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lovstudio:any2pdf

Version

Markdown to professionally typeset PDF with reportlab. CJK/Latin mixed text, code blocks, tables, cover pages, TOC, bookmarks, watermarks, and 14 color themes.

Part of lovstudio/skills — by lovstudio.ai

Install

npx skills add lovstudio/skills --skill lovstudio:any2pdf

Requires: Python 3.8+ and pip install reportlab

Usage

python md2pdf.py --input report.md --output report.pdf --theme warm-academic
Option Default Description
--input (required) Markdown file path
--output output.pdf Output PDF path
--title From H1 Cover page title
--subtitle Subtitle
--author Author name
--theme warm-academic Color theme
--watermark Watermark text
--cover true Generate cover page
--toc true Generate table of contents
--frontispiece Full-page image after cover

Themes

warm-academic nord-frost github-light solarized-light
warm-academic nord-frost github-light solarized-light
paper-classic ocean-breeze tufte classic-thesis
paper-classic ocean-breeze tufte classic-thesis
ieee-journal elegant-book chinese-red ink-wash
ieee-journal elegant-book chinese-red ink-wash
monokai-warm dracula-soft
monokai-warm dracula-soft

License

MIT

About

Markdown → professionally typeset PDF. CJK/Latin mixed text, code blocks, tables, 14 themes.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages