Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

straube/md2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown to PDF

This is a very simple command-line program written in PHP that converts a Markdown to PDF.

Installing

Clone the project and run Composer to install the dependencies:

$ composer install

Running

You can run the program using I/O redirection:

$ ./md2pdf < file.md > file.pdf

Or using command-line options:

$ ./md2pdf -i file.md -o file.pdf

Command-line syntax

md2pdf [-i path] [-o path] [input]

Options

  • i - the input file path (Markdown).
  • o - the output file path (PDF).

Releases

No releases published

Packages

No packages published

Languages