Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this work in live preview? #25

Open
aisle9 opened this issue Feb 9, 2022 · 4 comments
Open

Can this work in live preview? #25

aisle9 opened this issue Feb 9, 2022 · 4 comments
Labels

Comments

@aisle9
Copy link

@aisle9 aisle9 commented Feb 9, 2022

No description provided.

@arnau
Copy link
Owner

@arnau arnau commented Feb 9, 2022

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.

@DryIce1
Copy link

@DryIce1 DryIce1 commented Mar 7, 2022

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,
Tom 👍🏽

@arnau arnau added the review label Mar 8, 2022
@DryIce1
Copy link

@DryIce1 DryIce1 commented Mar 11, 2022

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)

@arnau
Copy link
Owner

@arnau arnau commented Mar 12, 2022

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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants