Crates.io | mdbook-typstpdf |
lib.rs | mdbook-typstpdf |
version | 0.2.1 |
created_at | 2025-03-18 21:30:17.85795+00 |
updated_at | 2025-09-24 18:52:40.413747+00 |
description | An mdBook backend that generates PDF output using Typst |
homepage | https://github.com/xudesheng/mdbook-typstpdf |
repository | https://github.com/xudesheng/mdbook-typstpdf |
max_upload_size | |
id | 1597275 |
size | 2,005,462 |
A limited-purpose tool for converting mdbook projects to PDF using Typst, designed for personal use.
This tool was created to meet my specific requirements for converting mdbook projects to PDF format. It is not intended as a full-featured or production-ready open-source tool, but rather as a personal utility with limited functionality.
The current workflow is as follows:
mdbook build
to publish content to the book
directory
SUMMARY.md
file to locate each chapter's markdown content (note: currently ignores any additional content in SUMMARY.md
and only uses it to identify chapter files)SUMMARY.md
, but is instead determined by the Typst templateThis is not a serious open-source tool but rather a utility designed to meet my current conversion needs. API documentation is minimal or non-existent. If there is sufficient interest, more documentation may be added in the future.
If you are interested in this tool and would like to add support for new format conversions, please feel free to open an issue.
Note: This is a personal tool created in my spare time for temporary use only.