Skip to content
/ md2pdf Public

A simple CLI tool for converting markdown to PDF.

License

Notifications You must be signed in to change notification settings

ryuapp/md2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

md2pdf

A simple CLI tool for converting markdown to PDF.

Installation

deno install -grA jsr:@ryu/md2pdf/cli

Note: If you want to update the CLI, please reinstall with -f flag.

Command

md2pdf: A simple CLI tool for converting markdown to PDF.

Usage: md2pdf [OPTION]... [FILE]...

Options:
  -w, --watch    Watch for file changes.
  -h, --help     Print help.
  --stylesheet   Set CSS file path used for rendering.

Front matter (Experimental)

We can specify CSS file used in the front matter of markdown.

---
stylesheet: ./github.css
---

# Hello World

Related

  • md-to-pdf - Markdown to PDF CLI for Node.js.