-
Notifications
You must be signed in to change notification settings - Fork 13
Can this work in live preview? #25
Comments
Hi @aisle9 , as far as I can tell from Obsidian's documentation the live preview is unstable and only implemented by the Obsidian developers so I'm afraid the answer is no. Once it's clear how to do it in an official way I'll give it a go. |
Hi @arnau, metatable sure makes yaml look great in reading mode! The most important and useful feature for me is the toggle button which closes the yaml and gets it "out of the way" so that writing is clean and the text at the top of the page where it belongs and in focus. I wonder if it is possible to bring the Metatable YAML Toggle into live preview ? Or would that be a native obsidian feature? There has been a bit of demand in at least a couple of feature requests last year on the forum here and here. Best, |
I was able to hide YAML using a snippet, and it looks great in Live Preview. (Although it's not a good solution for those who use YAML regularly, it makes typing very pleasing and clean). See the snippet on the Banners plugin comments here noatpad/obsidian-banners#19 (comment) |
Nice one @DryIce1 ! I'm a bit tight on time lately but as soon as I get a couple of hours I'll explore this 👍 |
ooh, it would be great if metatable works with live preview and default fold/hide the yaml front matter! |
+1 for this one, really need this. and thanks |
Any updates regarding this? Is it possible? :) |
I'm afraid not. As far as I can tell Live Preview does not allow hooking into the frontmatter part of the document. If anyone knows how, I'm open to contributions :) |
No description provided.
The text was updated successfully, but these errors were encountered: