github simonhaenisch/md-to-pdf v3.0.0
3.0.0 🎉

latest releases: v5.2.4, v5.2.3, v5.2.2...
4 years ago

v2.8.2...v3.0.0

⚠ BREAKING CHANGES

  • The --debug flag has been removed. All errors are printed instead, in the hopes that giving the user every hint possible will help them get down to the root of their problem. Hopefully the error stacks don't confuse anyone. 🤓
  • the CLI can't be invoked without specifying any input files anymore. To convert all files in a directory, use a shell glob instead (e. g. md-to-pdf *.md). It's now possible to read markdown from stdin (and output to stdout).
  • The whole source code has been converted to Typescript. The minimum required node version has been increased to v10.0.0 (current LTS). It should still work with v8.3.0+ but the tests won't be able to run.
  • The license has been changed to MIT.

Features

  • output to stdout if input comes from stdin (73f8e0d)
  • get rid of the --debug flag (94fb214), closes #54
  • allow input from std in or shell globbing for multiple files (8051c42)
  • auto-enable displayHeaderFooter if template is set (b3ac8d9), closes #59
  • expose --port cli flag (1f22656)
  • merge v3 (#39) (20ca196)
  • set process and xterm title (04b985e)

Bug Fixes

  • cli: merge pdf_options of config file properly (d85558d)
  • cli: package.json path for version info (a7a5817)
  • relative paths (bb46626)
  • ul/ol margin (80d36d5), closes #36

Don't miss a new md-to-pdf release

NewReleases is sending notifications on new releases.