Obsidian markdown to pdf converter
See the example»
Report Bug
·
Request Feature
Obsidian allows you to create beautiful documents but normal Md to PDF convertes do not pay attention to it's styles, so i decided to create my own converter that would do that.
# import styles
pool = import_obsidian_styles("your_style.css")
# read your document
file_text = read_contents("your_document.md")
# create PDF document
pdf = PrintablePDF()
# write to it
convert_md_to_pdf(file_text, pdf, pool)
# save document
pdf.output("output.pdf")
- Convert text headers
- Process links
- Process images
- html tags
- Turn it into Obsidian extention