Install
openclaw skills install markdown-to-pdf-styledConvert Markdown files to styled PDFs using pandoc and wkhtmltopdf with built-in or custom CSS style options.
openclaw skills install markdown-to-pdf-styledversion: 1.0.0
author: 大总管
description: Convert Markdown (.md) files to styled PDF documents with pandoc + wkhtmltopdf
Use this skill to convert Markdown to PDF with consistent styles.
pandoc --version
wkhtmltopdf --version
bash {baseDir}/scripts/md2pdf.sh /abs/path/doc.md
Use built-in styles:
clean (default): simple business stylemodern: blue, presentation-friendlypaper: serif, reading-friendlyExamples:
bash {baseDir}/scripts/md2pdf.sh /abs/path/doc.md --style clean
bash {baseDir}/scripts/md2pdf.sh /abs/path/doc.md /abs/path/out.pdf --style modern
bash {baseDir}/scripts/md2pdf.sh /abs/path/doc.md --style paper
Pass an absolute CSS path:
bash {baseDir}/scripts/md2pdf.sh /abs/path/doc.md /abs/path/doc.pdf --style /abs/path/custom.css
--enable-local-file-access.title:.{baseDir}/references/usage.md.