All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.2.4 (2023-04-04)
5.2.3 (2023-03-11)
- regression from using
.replaceAll
which isn't available in Node 14 (018b52e)
5.2.2 (2023-03-11)
5.2.1 (2022-12-18)
5.2.0 (2022-11-06)
- closeServer rejects when server.close has an error (7a4a142)
5.1.0 (2022-01-28)
5.0.2 (2022-01-21)
5.0.1 (2021-11-17)
5.0.0 (2021-09-24)
- If you previously used JS in front-matter, you'll now have to set
--gray-matter-options 'null'
(orgray_matter_options: undefined
) to overwrite the new default options that disable the JS engine.
4.1.0 (2021-09-23)
4.0.1 (2021-08-30)
4.0.0 (2021-07-01)
- upgrade dependencies (738029c), closes #87
puppeteer@10
drops node 10 support which is why the required engine is now node >= 12.0.- The minimum required
puppeteer
version is now 8.0.0 because it ships its own interfaces with some breaking changes. highlight.js@11
has some breaking changes that might affect PDF output slightly.
3.3.2 (2021-04-09)
- inject styles and scripts in given order (e1b6003)
3.3.1 (2021-02-25)
3.3.0 (2021-02-22)
- cli: expose watchOptions (9a68f5f), closes #84
- new script config option to inject scripts, mathjax test (c8628a4)
3.2.1 (2020-12-16)
- pageMediaType -> page_media_type (29d8a75)
3.2.0 (2020-12-16)
- readFile encoding (2c7296d)
3.1.2 (2020-11-06)
(2020-06-05)
Warning: Updates marked to 1.1.0 which has some breaking changes (see https://github.com/markedjs/marked/releases/tag/v1.0.0), and those might also apply to the usage of this package if a custom renderer was used. I don't expect anyone to run into issues though which is why I decided not to do a major version bump.
3.1.0 (2020-04-18)
3.0.1 (2020-03-28)
- engines field (required node version) (9e88564)
3.0.0 (2020-02-29)
- output to stdout if input comes from stdin (73f8e0d)
3.0.0-pre.1 (2020-02-01)
- 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. 🤓
3.0.0-pre.0 (2020-01-26)
- 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.
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.
- 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)
- 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
2.8.2 (2019-11-26)
2.8.1 (2019-09-18)
2.8.0 (2019-08-30)
2.7.1 (2019-05-31)
- circleci: use
node:8-browser
docker image (fff5f0f) - don't reuse filenames (b0ce9b6)
- split execution of lib, api and cli specs (e6b0ca1)
2.7.0 (2019-04-28)
- add option to generate html output instead of pdf (c784a8a)
2.6.4 (2019-02-27)
- is-url check should only check for http urls (2ed9d7b)
2.6.2 (2019-02-10)
2.6.1 (2019-01-21)
- merge pdf options into defaults properly (d13f5e2)
2.5.0 (2019-01-20)
- api: type check for md file argument (4944e8e)
2.4.2 (2018-11-27)
2.4.0 (2018-11-14)
- pdf-options weren't working from CLI args (f7b16af)
- expose puppeteer launch options (aa36a5e)
2.3.2 (2018-11-10)
- css: inline code inside list items (dd7fca6)