Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support PDF Export Via Pandoc #790

Open
jag3773 opened this issue Oct 11, 2024 · 0 comments
Open

Support PDF Export Via Pandoc #790

jag3773 opened this issue Oct 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jag3773
Copy link

jag3773 commented Oct 11, 2024

Is your feature request related to a problem? Please describe.
Using Pandoc to export my markdown files gives me messed up checkboxes and does not make use of the beautiful checkbox styling from the theme. I use a script to convert several markdown notes to PDFs on a regular basis, the pandoc command in these scripts is:

pandoc --quiet --pdf-engine pagedjs-cli --css ~/.obsidian/themes/Minimal/theme.css "$x" -o "${x}.pdf"

Generally this works well but it generates ugly checkboxes:
Screenshot 2024-10-11 at 4 14 16 PM

Describe the solution you'd like
I would like to see a css file that works with pandoc's pagedjs-cli PDF engine to implement the custom checkbox styles in the minimal theme. This would yield output similar to Obsidian's native PDF output:
Screenshot 2024-10-11 at 4 15 51 PM

(Note that the exclamation mark checkbox item is actually styled by the List Callouts plugin which I'm migrating away from...)

@jag3773 jag3773 added the enhancement New feature or request label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant