Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 495 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 495 Bytes

md2roff

Prerequisites

  • A lex (tested with flex, should be pretty portable though)
  • GNU Make
  • A C99 compiler (I used GCC)

How to use

  • make it
  • Pipe your Markdown input to md2roff, examples below:
# Using groff
./md2roff markdown.md | groff -ms -Tpdf >output.pdf`

# Using heirloom doctools or similar
`./md2roff markdown.md | troff -ms | dpost >output.ps`

License

Copyright (C) 2019-2021 Ben O'Neill ben@oneill.sh. License: MIT. See LICENSE for more details.