Closed S4njer closed 4 weeks ago
You can disable specific code blocks in the plugin settings.
Hi @mProjectsCode this doesn't seem to fix things - I have tried disabling loads of languages
But unfortunately Excalidraw still does not render when your plugin is enabled
Can you provide me with an entire note so that I can try to debug this? I am not familiar with the Excalidraw plugin.
This is a test note.md Drawing 2024-09-16 21.02.24.excalidraw.md
^ ATTACHMENTS
Sure!
Here is an example of an excalidraw file in markdown
----------EXCALIDRAW
==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠== You can decompress Drawing data with the command palette: 'Decompress current Excalidraw file'. For more info check in plugin settings under 'Saving'
Excalidraw Data
Text Elements
%%
Drawing
```compressed-json N4KAkARALgngDgUwgLgAQQQDwMYEMA2AlgCYBOuA7hADTgQBuCpAzoQPYB2KqATLZMzYBXUtiRoIACyhQ4zZAHoFAc0JRJQgEYA6bGwC2CgF7N6hbEcK4OCtptbErHALRY8RMpWdx8Q1TdIEfARcZgRmBShcZQUebQBWbQAGGjoghH0EDihmbgBtcDBQMBKIEm4IZwAFAA42ACUADQB9eoBmQn0AKUb6fQAZADkAEQBpQfrUkshYRArA7CiOZWCp
0sxuZx4kgEZtGpqko4AWA54anZ54/lKYTZ2auIBONuO298PLgDYn+LabyAUEjqbgPJ7aN7HJ5PADs8XiNXiLzhAKkCEIymkoLaiSeX2OPC+bSeOy+u3iXz4hUg1hW4lQSVRzCgpDYAGsEABhNj4NikCoAYh2CGFwrWkE0uGwbOUrKEHGI3N5/IkLOszDguEC2XFEAAZoR8PgAMqwVYSQQeXXM1kcgDqwMk3Cp0wgNvZCFNMHN6Et5VRcsxHHCuTQ
O1RbE12DUdzDR1RsuEcAAksRQ6g8gBdVF68iZVPcDhCI2owgKrAVXApAPCBXB5jp4qu2b0trUgC+TIQCGIoPixy+MNhOzeqMYLHYXDQSLHTFYnEGnDE2KSxyS7xhiNLzGG6SgPe4eoIYVRmlrxAAosFMtl00WS9SIEI4MRcPve2GYYT4jt3sc4T8qJEBwbKFsW+BAWw0oHm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XAdBmC7E4Pu
seGxRspSKMYJhZ++A9EzTmBadIixJy6nZsyAws8UmoE7jDKCHI8GRKAqEEu6S4kJLAkaZGYAkKQASuEKa7YQDtiAA=== ``` %%
EXCALIDRAW------
and here is an example of a note embedding the drawing
-----TEST NOTE
tags: this_is_a_test_note uncategorized icon: TiArrowsRandom aliases:
Uncategorized This is a test note created: 2024-09-16 modified: 2024-09-16T21:04:13+02:00
Test note 123
![[Drawing 2024-09-16 21.02.24.excalidraw]]
TEST NOTE------
Example of how it is rendered in live-preview (default editing mode in Obsidian)
Interestingly it looks fine in reading-mode
**Edited to escape codeblock backticks
Just checking in on this to see if there has been any workaround found?
just released a new version that should fix this.
Works - great stuff @mProjectsCode
Thanks a lot, the plugins is working now!
Is your feature request related to a problem? Please describe. Yes, I can't use Shiki Highlighter because i can't use Excalidraw, it occurs with a conflict in the codeblock name of the Excalidraw Data, whose codeblock name is "compressed-json".
Describe the solution you'd like I'd like to get compatibility between the plugins, because I use both.
Additional context I suppose that the Shiki Highlighter is blocking the codeblock to be read from Excalidraw.