-
-
Notifications
You must be signed in to change notification settings - Fork 410
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
Enable rendering of inline fields in Live Preview #2083
Conversation
…red children instead of the plugin instance
After sending this PR, I found a related feature request: #1058 |
Wow, very impressive! Thanks! |
Hi. I liked the earlier "no-rendering" style was because it was visually distinct from the text, just like tags. Compare: Now the inline fields can't be easily distinguished from the surrounding text at all! I think it'd b better if there was an option to make inline fields match the style of tags. Is there a css snippet I can use to enable that? Customary xkcd: https://xkcd.com/1172/ |
@sdht0 Once another PR of mine #2091 is merged, you will be able to turn off the inline fields rendering. Until then, you can use an older version of Dataview (manually download Also, you can style inline fields by CSS snippets targeting the CSS classes
Just a quick example: .dataview.inline-field-key {
background-color: red;
}
.dataview.inline-field-value {
background-color: blue;
} See also: |
Thanks a lot for the ready made css! Have you considered adding this as an option somehow? That looks pretty cool. I did try the Cheers |
I'm not a maintainer of Dataview, so if you want it to come true, create a new issue. But to me, it doesn't make sense because users are already able to customize the appearance using CSS snippets. |
Hi, thank you for creating & maintaining this great plugin.
Currently, inline fields are not rendered in the live preview.
I found myself avoiding using inline fields due to this fact, despite their usefulness.
Now that front matters are prettily rendered as "properties" rather than raw YAML, I think more and more people might feel the same as me.
So, I decided to make a change that makes them rendered in the live preview as well.
Here's a demo.
<- Live preview | Reading view ->
Screen.Recording.2023-10-05.at.2.43.59.mov
Canvas:
Screen.Recording.2023-10-05.at.2.49.04.mov
source:
What do you think?