Skip to content

KaiserY/mdbook-renderkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mdbook-renderkit

mdBook preprocessor plus PDF/DOCX backends.

[preprocessor.renderkit]
command = "mdbook-renderkit preprocess"

[output.pdf]
command = "mdbook-renderkit render-pdf"
# Optional, relative to the book root.
# template = "theme/pdf.typ"
# Optional, converts ```admonish ... fences into styled blocks.
# admonish = false
# Optional, use mdBook's chapter numbers for PDF bookmark titles and levels.
# section-number = false

[output.docx]
command = "mdbook-renderkit render-docx"
# Optional, use mdBook's chapter numbers for DOCX heading levels.
# section-number = false
# Optional, insert a Word TOC field after the title.
# toc = true
# Optional, TOC heading depth.
# toc-depth = 3

PDF templates can use these placeholders:

  • MDBOOK_RENDERKIT_TITLE
  • /**** MDBOOK_RENDERKIT_CONTENT ****/

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors