Skip to content

Releases: theiskaa/markdown2pdf

0.2.2 - 2026-02-27

27 Feb 13:17

Choose a tag to compare

Release Notes

Features

  • (fonts) Embed minimal TrueType font for built-in metrics fallback
  • (fonts) Add FontSource::bytes() constructor and document priority behavior

Bug Fixes

  • (lib) Propagate Pdf::new errors in parse_into_file and parse_into_bytes
  • (pdf) Replace .expect() with graceful fallback on font source loading

Other

  • Don't check builtinfirst if providing font source
  • Allow loading a font as bytes

Refactor

  • (pdf) Replace .expect() panics with Result propagation in Pdf::new
  • (fonts) Remove section separator comments

Documentation

  • (readme) Note that built-in fonts work without system fonts installed
  • (readme) Add embedded bytes font loading mode and usage example

Install markdown2pdf 0.2.2

Install prebuilt binaries via Homebrew

brew install theiskaa/tap/markdown2pdf

Download markdown2pdf 0.2.2

File Platform Checksum
markdown2pdf-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
markdown2pdf-x86_64-apple-darwin.tar.xz Intel macOS checksum
markdown2pdf-x86_64-pc-windows-msvc.zip x64 Windows checksum
markdown2pdf-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
markdown2pdf-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.2.1 - 2026-01-27

27 Jan 15:25

Choose a tag to compare

Release Notes

Features

  • (pdf) Apply bold/italic/underline/strikethrough styles to links

Testing

  • (lib) Add link styling tests for underline and strikethrough

Miscellaneous Tasks

  • (cargo) Update version to v0.2.1 and use genpdfi v0.2.7
  • (docs) Remove donation information and related funding references

Install markdown2pdf 0.2.1

Install prebuilt binaries via Homebrew

brew install theiskaa/tap/markdown2pdf

Download markdown2pdf 0.2.1

File Platform Checksum
markdown2pdf-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
markdown2pdf-x86_64-apple-darwin.tar.xz Intel macOS checksum
markdown2pdf-x86_64-pc-windows-msvc.zip x64 Windows checksum
markdown2pdf-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
markdown2pdf-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.2.0 - 2026-01-27

27 Jan 11:12

Choose a tag to compare

Install markdown2pdf 0.2.0

Install prebuilt binaries via Homebrew

brew install theiskaa/tap/markdown2pdf

Download markdown2pdf 0.2.0

File Platform Checksum
markdown2pdf-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
markdown2pdf-x86_64-apple-darwin.tar.xz Intel macOS checksum
markdown2pdf-x86_64-pc-windows-msvc.zip x64 Windows checksum
markdown2pdf-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
markdown2pdf-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.1.9 - 2025-11-14

19 Nov 14:41

Choose a tag to compare

Release Notes

Features

  • (fonts) Improve font loading by adding validation for font data and handling of .ttc files
  • (pdf) Improve font loading by applying subsetting to fallback chains based on character usage
  • (fonts) Add font subsetting functionality to reduce PDF file size by analyzing character usage in fallback chains
  • (pdf) Improve font loading with automatic fallback chains and improved handling for missing fonts
  • (fonts) Improve font loading with fallback chains and improved error reporting for missing fonts
  • (cli) Add verbosity levels and dry-run option for enhanced user feedback during PDF generation
  • (errors) Improve MdpError handling with detailed error structures and suggestions for better debugging
  • (fonts) Improve font loading with aliases and variant support for better fallback handling
  • (validation) Implement a validation system for markdown conversion with warnings for missing fonts, images, and syntax issues
  • (pdf) Enhance font loading with optional text extraction for improved fallback handling
  • (markdown) Add recursive text extraction method for tokens
  • (fonts) Add font subsetting support
  • (lib) Update parse_into_file and parse_into_bytes to support optional font configuration
  • (pdf) Improve pdf creation with optional font configuration for custom and default fonts
  • (fonts) Implement custom font loading with configuration options
  • (bin) Add font configuration options for custom and default fonts

Bug Fixes

  • (pdf) Change default behavior of font subsetting to true for improved text extraction

Documentation

  • (readme) Update feature flag section
  • (readme) Simplfiy readme to make it more pleasant to read

Miscellaneous Tasks

  • (cargo) Add feature flags to control the lib by preference
  • (.gitignore) Add pattern to ignore test markdown files
  • (dependencies) Update dependencies in Cargo.lock and Cargo.toml, including version bump for markdown2pdf to 0.1.9 and switching genpdfi to a git source for font subsetting feature
  • (docs) Update README to improve docs on cli options, font handling, and Unicode support

Install markdown2pdf 0.1.9

Install prebuilt binaries via Homebrew

brew install theiskaa/tap/markdown2pdf

Download markdown2pdf 0.1.9

File Platform Checksum
markdown2pdf-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
markdown2pdf-x86_64-apple-darwin.tar.xz Intel macOS checksum
markdown2pdf-x86_64-pc-windows-msvc.zip x64 Windows checksum
markdown2pdf-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
markdown2pdf-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.1.8 - 2025-10-07

07 Oct 09:35

Choose a tag to compare

Release Notes

Features

  • (markdown) Improve list parsing and add is_list_marker method for better list item handling
  • (debug) Add functionality to save tokens as JSON for visualization

Bug Fixes

  • (markdown) Remove the token visualization json generator call

Documentation

  • (changelog) Update changelog with 0.1.7 commits
  • (readme) Update readme to include homebrew and prebuilt install variants

Install markdown2pdf 0.1.8

Install prebuilt binaries via Homebrew

brew install theiskaa/tap/markdown2pdf

Download markdown2pdf 0.1.8

File Platform Checksum
markdown2pdf-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
markdown2pdf-x86_64-apple-darwin.tar.xz Intel macOS checksum
markdown2pdf-x86_64-pc-windows-msvc.zip x64 Windows checksum
markdown2pdf-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
markdown2pdf-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

v0.1.7

21 Sep 12:47

Choose a tag to compare

Install markdown2pdf 0.1.7

Install prebuilt binaries via Homebrew

brew install theiskaa/tap/markdown2pdf

Download markdown2pdf 0.1.7

File Platform Checksum
markdown2pdf-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
markdown2pdf-x86_64-apple-darwin.tar.xz Intel macOS checksum
markdown2pdf-x86_64-pc-windows-msvc.zip x64 Windows checksum
markdown2pdf-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
markdown2pdf-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

v0.1.6

21 Jul 18:10

Choose a tag to compare

Features

  • (config) Add ConfigSource enum and refactor configuration loading functions to support default, file, and embedded sources

Bug Fixes

  • (main) Update parse_into_file call to use ConfigSource::Default for improved configuration handling

Refactor

  • (lib) Update parse_into_file and parse_into_bytes functions to use ConfigSource for configuration handling

Documentation

  • (readme) Add new logo and some cool badges
  • (readme) Revise README for clarity and update configuration handling details, including embedded support and usage examples

v0.1.5

16 Jul 18:17

Choose a tag to compare

Features

  • (lib) Rename parse function to parse_into_file and add parse_into_bytes for in-memory PDF generation
  • (pdf) Add render_to_bytes method for in-memory PDF generation and corresponding tests

Documentation

  • (readme) Update documentation to reflect new parse_into_file and parse_into_bytes functions for PDF generation
  • (readme) Update version from 0.1.3 to 0.1.4 in readme

Miscellaneous Tasks

  • (app) Remove Makefile at all

v0.1.4

09 Jul 20:59

Choose a tag to compare

Features

  • (fonts) Add comprehensive font loading functionality with built-in and system font support
  • (fonts) Implement ultra-minimal font loading with caching and variant analysis

Bug Fixes

  • (main) Update error handling to provide clearer user guidance for markdown input requirements

Other

  • (cargo) Remove thiserror module

Refactor

  • (lib) Update parse function to accept an optional configuration path for improved flexibility
  • (main) Improve command handling and error messaging for markdown input
  • (lib) Remove commented sections and unused font loading logic
  • (styling) Remove unused font references and optimize font loading logic for efficiency
  • (pdf) Enhance font loading logic to support system fonts and fallback options
  • (pdf) Replace font loading methods with minimal variants for improved efficiency

Documentation

  • (readme) Enhance configuration section to include custom config file path and error handling details

Miscellaneous Tasks

  • (dependencies) Update genpdfi source from github to registry (version 0.2.3 )
  • (dependencies) Update package versions and add new dependencies for font handling and PDF generation
  • (lib) Remove embedded assets including help text and Roboto font files to streamline the project and reduce binary size.
  • Fix some advisory issues
  • Make it possible to compile without openssl
  • (dependencies) Bump genpdfi version to 0.2.2 in Cargo.toml and Cargo.lock

New Contributors

v0.1.3

31 Mar 19:06
e14f2ff

Choose a tag to compare

Features

  • (assets) Move default implementation to [Default] trait
  • (pdf) Implement before_spacing as breaks
  • (config) Parse before_spacing and add in the example file
  • (styling) Add before_spacing field to BasicTextStyle

Bug Fixes

  • (markdown) Enhance image parsing to handle invalid syntax gracefully
  • (lib/markdown) Improve example doc codes
  • (markdown) Use shorthanded struct initialization for emphasis init

Documentation

  • (readme) Expand library integration guide

Testing

  • (markdown) Add tests for standalone exclamation and image parsing
  • (lib) Covert both success and error cases
  • (pdf) Cover most cases except 'genpdfi' imports
  • (markdown) Cover all possible cases of lexer
  • (styling) Cover all cases in styling
  • (config) Add tests for each method except reading from config file