Closed razetdinov closed 4 months ago
My answer has two parts: 1) I do not recommend automatically changing Excalidraw files with Linter or any other metadata plugins, and I cannot manage compatibility with other plugins. That is simply not feasible... I personally avoid any plugins that change files in the background - but that is a personal choice. 2) If you decided to do it anyway, there is a compatibility setting for this introduced in v 2.2.3.
Is your feature request related to a problem? Please describe. Markdown Best Practices state the following:
Obsidian Linter plugin has a setting which ensures that all headings have a blank line both before and after.
Switching this setting on breaks excalidraw images, as it inserts blank lines before and after the
Text Elements
heading.Describe the solution you'd like Excalidraw should ignore blank lines before and after
Text Elements
heading. Obsidian itself behaves this way. For example, if you trancslude a referenced block, Obsidian ignores all the blank lines before it.Describe alternatives you've considered Temporary workaround is to switch off the before mentioned setting in Obsidian Linter plugin preferences.
Additional context Before blank lines are added around headings:
After blank lines are added around headings: