SlRvb / Obsidian--ITS-Theme

Theme designed with readability and customizability in mind. Change it easily to your liking with the Style Settings plugin installed.
https://publish.obsidian.md/slrvb-docs/ITS+Theme/ITS+Theme
GNU General Public License v2.0
531 stars 112 forks source link

[Bug] Export to PDF broken #133

Closed Proshyak closed 1 year ago

Proshyak commented 1 year ago

Cannot export docs to PDF when using ![infobox] with ITS Alternate themes - TTRPG:WOTC/Beyond or WOTC themes.

Infobox missing when exported as PDF with any ITS theme.

no other plugins enabled. Obsidian keeps loading "preparing PDF" without any progress. Using SIRvb D&D does NOT have the same issue. SIRvb does output a PDF, but omits anything in the !9infobox].

Expected behavior Obsidian exports the note to PDF as is.

To Reproduce

Steps to reproduce the behavior:

  1. Create any note with an ![infobox]
  2. Settings>Export to PDF
  3. See error

Screenshots

Note used for testing (with WOTC theme): image image Output PDF exported with SlRvB theme and an infobox that didn't render: image same note exported with Cybertron Dark: image

OS

Where does the bug occur? Windows 10

Obsidian Version: v0.15.9

Additional context

SlRvb commented 1 year ago

I think I've pushed out a fix for this. Do update my theme and let me know if the export works 👀

emiko1412 commented 1 year ago

Hello! This problem is still occurring after I updated the ITS theme. I have no other community plugins installed.

OS

Where does the bug occur? Windows 11 [X] Desktop [ ] Mobile

Obsidian Version: v0.15.9

The export to PDF function can sometimes make Obsidian stop responding, and the resulting PDF file contains everything but the infobox. The PDF file also has thousands of blank pages added to it.

In obsidian using source mode error2

The exported PDF error1

brandon-kohn commented 1 year ago

Happens to me too with all the latest updates.

SlRvb commented 1 year ago

Is this still an issue on the beta?

brandon-kohn commented 1 year ago

Seems to be working with the beta.