zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
4.25k stars 233 forks source link

Export to PDF #1919

Open ejelasko opened 3 months ago

ejelasko commented 3 months ago

Is your feature request related to a problem? Please describe. When export a MD file with embedded Excalidraw, I have in the PDF all the details of the excalidraw. It would be useful if it is didn't appear.

Refer to the screenshot

B000180

zsviczian commented 3 months ago

Simply add %% in the line above # Excalidraw Data, then switch to Excalidraw view mode, press CTRL+S to force save and you are all set. You can update your template to have %% before Excalidraw Data. The only side-effect of commenting out the entire Excalidraw Data section is that you won't be able to block reference text from your Excalidraw Drawing in other files because Obsidian does not index blocks in commented sections.