yo1000 / publishing-automation

Publish markdown files to PDF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

publishing-automation

Publish markdown files to PDF

Requirements & Setup

Requirements

  • Node.js v18+

Setup

npm install

Additional step for WSL

sudo apt install libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2

How to Build

Build demo

npm run build-demo

Build with options

DEBUG=true \
TITLE='Demo title' \
AUTHOR='Demo Author' \
REVISION='1.0' \
TOC_HEAD='Table of content' \
SRC_DIR='./demo' \
DST_DIR='./dst' \
npm run build

When DEBUG=true, HTML version will be output in addition to PDF.

About

Publish markdown files to PDF

License:MIT License


Languages

Language:JavaScript 87.9%Language:CSS 12.1%