GitPedia
solworktech

solworktech/md2pdf

A CLI utility that generates PDFs from Markdown. Features: syntax highlighting (for code blocks), dark, light and custom themes, TOC autogeneration, tables, pagination control (using horizontal lines - especially useful for presentations), page Footer (consisting of author, title and page number), support of non-Latin charsets and multiple fonts

30 Releases
Latest: 1y ago
v2.2.18Latest
github-actions[bot]github-actions[bot]·1y ago·June 10, 2025
GitHub

📋 Changelog

  • b15e07de413879b2e84c1a93265ba1d9a8eb692e Line wrap long strings in code blocks.
  • 0be25f0bf37ea7a3f14fc97953fbda4511fb423f adjust references to `md2pdf` as it now resides under github.com/solworktech
v2.2.17
github-actions[bot]github-actions[bot]·1y ago·June 9, 2025
GitHub

📋 Changelog

  • 3d639ba0d78d2fbcc090af6053403505280bafa4 TOC: Indent item based on header level
  • ad243e820044347b0696d632f7d49e078e7b23f6 Auto generation of [TOC](https://github.com/solworktech/md2pdf/issues/73)
v2.2.16
github-actions[bot]github-actions[bot]·1y ago·May 30, 2025
GitHub

📋 Changelog

  • f84fd001d414328a1f6294a4b4ee81559ebeecc2 Addressed https://github.com/solworktech/md2pdf/issues/72
  • 51ed331a6cff5f1809e7fb60f2ab08b23e578abe update highlight submodule.
v2.2.15
github-actions[bot]github-actions[bot]·1y ago·May 18, 2025
GitHub

📋 Changelog

  • ca7e9c45aecc18d7c82907e316c3e629d07824c9 Unordered lists: `-` will be translated to circular bullets (`•`) as before, `+` and `*` will be translated to square bullets (`▪`) . Padding between bullet char and text was also reduced.
  • ca7e9c45aecc18d7c82907e316c3e629d07824c9 Support 'md' extension (or any other for that matter) for testfiles
  • 3b913ba09da5b94483f23dfc35fd9c93550fff0f Remove note about dashes in bullets from the `Known Issues` section as it was addressed
v2.2.14
github-actions[bot]github-actions[bot]·1y ago·May 18, 2025
GitHub

📋 Changelog

  • 67f770b08328eabb422ecde41af73aa51a3974c0 - Latest versions for deps - Build against Go 1.23.0 (needed because of https://github.com/golang/go/issues/71984)
  • 0e9b49fa0016c4d3fb0b4f1b5eae07f7d77ed326 - fix empty cells in tables #20 - fix table cell text overflow outside (scan tables first and find max length) - fix bold/italic breaks table layout
  • 9ac2bee583f7dc7827fa654b735f613770452043 A more elaborate table test, following https://github.com/solworktech/mdtopdf/pull/71
  • 8850fd9a6f0f4b9460be331a3089dd5e058823ed Bump golang.org/x/net from 0.37.0 to 0.38.0
  • 711549dca0dc3d9212bfe8db14b2e505944bc905 Fix tests: need to enable relevant `PdfRenderer.Extensions`.
  • f51f24bdf1d2c7e07c8083c87ccd7982eff2aeea update gohighlight submodule
v2.2.13
github-actions[bot]github-actions[bot]·1y ago·March 5, 2025
GitHub

📋 Changelog

  • b142e71e1e24e1f8992bd6495b56511c28ebb97f Document `--version` option
  • 2ca38c50099a9aebe308b85df0a9a932cf1c67a0 Output commit hash and build time in addition to version
v2.2.12
github-actions[bot]github-actions[bot]·1y ago·March 5, 2025
GitHub

📋 Changelog

  • 19312e0a019a08781a0a3006e1209c66ed96e5c4 Added --version flag
  • 3544e4c4531e71e912af00ab966fd257a146e237 Include man page
  • df73357975f6531fe296cf4e4153e25e25fefd94 declare syntax files as `"config|noreplace"`
v2.2.11
github-actions[bot]github-actions[bot]·1y ago·February 12, 2025
GitHub

📋 Changelog

  • First release of Deb and RPM packages
  • 86fa9aa8c1d9a0e53f8fce04250feca4926d784c md2pdf.go: check for syntax files under `/usr/share/mdtopdf/syntax_files`, which is where the Deb and RPM packages place them
v2.2.10
github-actions[bot]github-actions[bot]·1y ago·February 11, 2025
GitHub

📋 Changelog

  • 547d3b14c084cb491d1f33850615ca5e6001f2ad pull submodule
v2.2.8
github-actions[bot]github-actions[bot]·1y ago·February 11, 2025
GitHub

📋 Changelog

  • 3796f6488a8bf9cd720b9629981e3b6adc8fb38d Adjust usage to reflect custom theme option
  • 2b9d9df6d31818bca4d086ceba43bac5071f1dee reference v2 in README and `md2pdf`
v2.2.7
github-actions[bot]github-actions[bot]·1y ago·February 10, 2025
GitHub

📋 Changelog

  • ed10c4237e8136355d69fa5bb50d17da331775cc - Committed theme templates - Documented custom themes in README - Fixed linting issues in go.yml (CI)
  • 12cbea5e116143d4fc3c40dbe7f2da6b2e87589f - Remove references to BlackFriday (see https://github.com/mandolyte/mdtopdf/pull/41/files)
  • 3aa52c0b45a40ce9a4316bece63212200bd5128f Add goreportcard badge.
  • 28508de7e272d70dc877fc611c1b95a726ba259d Merge pull request #64 from solworktech/customisable-themes
  • a382688b37243eb91ab35a286e358be03fae68d2 More README edits
  • c120f7e858663de9811413b474f07e1450c0b4b4 README updates (added list of features)
  • 32edd0c6d3dc9a7baa911dec65a9b1cf1fac2203 Support custom themes (by passing a JSON file).
  • 3dff8e5cd78e19e4e8be905b785aa777758b8bc6 Update README.md
v2.2.6
github-actions[bot]github-actions[bot]·1y ago·December 20, 2024
GitHub

📋 Changelog

  • cda56717fe3e9459c0c6acc7be612276b9028b7b Disabling import check pro tem as I'm getting: go: golang.org/x/tools/cmd/goimports@latest (in golang.org/x/tools@v0.27.0): go.mod:3: invalid go version '1.22.0': must match format 1.23 in GH Actions.
  • 9e281b229f5b620a17c676f01ed7205cb8f079eb Disabling import check pro tem:
  • 92f4efd4a09dbb90ae1dfcddb0a87949a21f2a72 Note about pre-built binaries
  • 3bbd2280f96e3c44d848ac85a68e6427bf7ab6d9 Note about pre-built binaries
  • 220678b94d2e174bb717da720a8f4ee76c4b24cb README
  • cfd6d528d95fef19ff19eaba6ef1c43e4b6a4828 Upgrade github.com/gomarkdown/markdown version See https://github.com/mandolyte/mdtopdf/security/dependabot/7
  • 3bbddfea76cf74dab8f4359b3b6bcd2cab2dd53a Upgrade golang.org/x/net to 0.33.0 See https://github.com/mandolyte/mdtopdf/security/dependabot/8
v2.2.5
github-actions[bot]github-actions[bot]·1y ago·July 15, 2024
GitHub

📋 Changelog

  • 48d48ee581b8f53eb1db828e29699caf31d9eefd As of Go 1.16, ioutil.ReadAll is deprecated and simply calls io.ReadAll (See https://github.com/mandolyte/mdtopdf/pull/58#issuecomment-2225618262)
  • 7265296c36f6a9308e1e407ec2a729941b7a350a Use latest golang.org/x/exp version
  • 29905d1dd5e1d1fc26965aedf5a8370c486f2215 Do not create trace/log file by default
v2.2.4
github-actions[bot]github-actions[bot]·1y ago·July 4, 2024
GitHub

📋 Changelog

  • d18918d Fix https://github.com/mandolyte/mdtopdf/issues/18
  • a684fe1 Merge pull request #51 from mandolyte/support-scandir
  • c0f1cd0 Bump golang.org/x/net from 0.8.0 to 0.23.0
v2.2.3
jessp01jessp01·2y ago·November 10, 2023
GitHub

Support scandir for MD files. See https://github.com/mandolyte/mdtopdf/issues/48

v2.2.2
jessp01jessp01·2y ago·November 2, 2023
GitHub

See https://github.com/mandolyte/mdtopdf/pull/50

v2.2.1
mandolytemandolyte·2y ago·September 22, 2023
GitHub

Upgrades to latest go-pdf version. Thanks @jessp01

v2.2.0
mandolytemandolyte·2y ago·September 9, 2023
GitHub

Thanks to @jessp01

v2.1.0
mandolytemandolyte·2y ago·August 26, 2023
GitHub

Contributed by @jessp01, this change updates the handling of images retrieved via their URLs.

v2.0.0
mandolytemandolyte·2y ago·August 17, 2023
GitHub

First, thanks to @jessp01 who contributed these changes. Second, I decided to make this a v2 release because of the switch of the underlying markdown parser. Hopefully, users will not detect any changes, but nonetheless, this is a major update... even if the API has not broken.

v1.5.3
mandolytemandolyte·2y ago·August 4, 2023
GitHub

contributed by @jessp01

v1.5.2
mandolytemandolyte·2y ago·August 3, 2023
GitHub

📋 Changes

  • Support processing of SVG images (using github.com/canhlinh/svg2png)
  • Revisions following various go linter suggestions
  • Support for passing a path to log/trace file in md2pdf
  • GH actions CI
  • Goreleaser config
  • Update gohighlight submodule
  • README note on submodule
Fix for binary installed namev1.5.1
mandolytemandolyte·2y ago·August 1, 2023
GitHub

Thanks @jessp01

Theme support, improved testing, ease of usev1.5.0
mandolytemandolyte·2y ago·August 1, 2023
GitHub

Contributions from @jessp01 -- Thanks!

Misc Fixesv1.4.1
mandolytemandolyte·2y ago·July 25, 2023
GitHub

Contributions @jessp01 and @ehsanx64

Code Block Syntax Highlightingv1.4
mandolytemandolyte·2y ago·July 22, 2023
GitHub

Syntax highlighting for code blocks was contributed by @jessp01. Thanks!

Minor fixes to backtick processingv1.3.2
mandolytemandolyte·3y ago·March 31, 2023
GitHub

See https://github.com/mandolyte/mdtopdf/pull/25 for details

Bug fix: code omissionv1.3.1
mandolytemandolyte·3y ago·March 16, 2023
GitHub

see PR [here](https://github.com/mandolyte/mdtopdf/pull/24#issuecomment-1472145799) for details

Add further contributions for styling code blocksv1.3.0
mandolytemandolyte·3y ago·March 4, 2023
GitHub
Version 1.2.0v1.2.0
mandolytemandolyte·3y ago·January 31, 2023
GitHub

Adds contribution from @prasannahanu