🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

makepdf

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

makepdf

Opinionated Markdown-to-PDF converter

0.1.5
latest
Source
npm
Version published
Weekly downloads
39
-31.58%
Maintainers
0
Weekly downloads
 
Created
Source

makepdf

This tool converts Markdown documents (with some additional LaTeX-inspired tags) to professional-looking PDF documents, mostly targeted towards software specs and documentation.

Based on the awesome pdfmake tool, which is itself based on pdfkit.

Samples

The source repository contains sample documents in the sample/ folder.

This includes a manual that highlights most of the available features. The output for this document can be found in the root folder (see manual.pdf).

Configuration

Configuration is read from makepdf.json, unless an argument is specified on the command line.

Refer to the PDF manual for the configuration format.

Ideas

Some ideas for improvement:

  • Use .js files with conventional naming (or defined in the config file) for e.g. headers and footers, adding table styles, post-processing headings, tables, etc. or a hook for the entire document.
  • Standard files for front & back matter.
  • Produce HTML alongside PDF for 'online help' files.

Keywords

pdf

FAQs

Package last updated on 11 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts