crashmoney / obsidian-typewriter

Typewriter is an Obsidian theme designed for a focused writing experience.
GNU General Public License v3.0
91 stars 17 forks source link

Callouts are not exported to PDF #23

Open Sneekypeeky opened 1 year ago

Sneekypeeky commented 1 year ago

Describe the bug

Im using PDF-Export of Obsidian so share information with colleagues. With active Typewriter-Theme, the export of callouts does not work. Instead white space occurs in the PDF. I would appreciate a fix, since i love the Theme with its fonts, formatting, colour themes, ...

To Reproduce

Steps to reproduce the behaviour:

  1. Create new File with any name.
  2. Insert some text including a callout, for example:

    Some leading Text.
    
    > [!Abstract] Callout
    > Some Text inside the Callout with an image:
    > <iframe height=300 src="https://publish-01.obsidian.md/access/f786db9fac45774fa4f0d8112e232d67/Attachments/Engelbart.jpg"></iframe>
    
    Some trailing text.
  3. Ensure that "Reading" or "Live Preview" Mode is active to see rendered appearance.
  4. Press CTRL + P to open command plate
  5. Type Export to PDF and execute.
  6. See result in the exported file, compared to the obsidian view. --> no callouts

Information

Suggestions/Workarounds

Switching the theme back to "Default" before exporting PDF fixed the problem, but also changed the appearance.

crashmoney commented 1 year ago

Hi @Sneekypeeky, I can't reproduce this bug on the latest version of Obsidian and Typewriter. Could you please try updating to the latest version of the theme and trying the example again?

Sneekypeeky commented 1 year ago

Hi @crashmoney, I updated Typewriter theme to v2.1.1 and retryed the Export. Same result for me:

Maybe the problem is not caused by Typewriter Theme. I will try a few things and give an update if i can figure out the source of the problem.