bulk-md-to-pdf
CLI tool wrapper around md-to-pdf
to convert multiple .md
notes to .pdf
.
Install
npm install -g bulk-md-to-pdf
Usage
-
build <notesDirPath>
(aliasb
): Converts*.md
files innotesDirPath
to*.pdf
filesE.g.,
bulk-md-to-pdf build ./notes
(orbulk-md-to-pdf b ./notes
) -
open-build
(aliaso
): Opens the build folder -
clean
(aliasc
): Removes all built*.pdf
files
Testing
Link bin locally: npm link
(run in project folder root)
CLI should now be available globally via bulk-md-to-pdf <command> [options]
.
Alternatively, CLI can be used locally through an npm
script via npm start <command> [options]
, other npm
scripts include:
npm run build <notesDirPath>
npm run clean