New Inline Field Highlighting
See original GitHub issueDescribe the bug With the new feature enable, no colors are applied.
To Reproduce Steps to reproduce the behavior:
- Add inline fields to text, tasks,… using the form
[key:: value]
and(key:: value)
. - Enable Inline Field Highlighting in Dataview settings.
- Go to another note and return (this step is necessary to the new feature is applied).
- Switch to preview mode and no background is applied to the rendered key and/or value.
Screenshots Edit
Preview
Expected behavior Something similar to this:
These colors seems not be applied:
.dataview.inline-field-key {
border-top-left-radius: 250px;
border-bottom-left-radius: 250px;
padding-left: 16px;
padding-right: 8px;
font-family: var(--font-monospace);
background-color: var(--background-inline-code);
color: var(--text-nav-selected);
}
.dataview.inline-field-value {
border-top-right-radius: 250px;
border-bottom-right-radius: 250px;
padding-left: 8px;
padding-right: 16px;
font-family: var(--font-monospace);
background-color: var(--background-tag);
color: var(--text-nav-selected);
.dataview.inline-field-standalone-value {
border-radius: 250px;
padding-left: 16px;
padding-right: 16px;
font-family: var(--font-monospace);
background-color: var(--background-tag);
color: var(--text-nav-selected);
}
Are these colors ‘injected’ by plugin in root Obsidian style or are colors already in default configuration?
Desktop:
- OS: macOS
- Obsidian Version 0.12.15
- Dataview Version 0.4.16
Thank you.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Inline Field refactoring | JetBrains Rider Documentation
This refactoring helps you replace a field with its value and remove its declaration. For obvious reasons, the refactoring can be applied to...
Read more >line breaking - Highlighted code inline - LaTeX Stack Exchange
One limitation is that the highlighted text will cause minted to crash if it needs to be wrapped: you need to take care...
Read more >Highlighting a row thru Inline style - how to check if property ...
In our application we also have two properties for a price field - numeric and text. We are working on a requirement to...
Read more >Inline elements - HTML: HyperText Markup Language | MDN
Note: An inline element does not start on a new line and only takes up as ... <div> The following span is an...
Read more >Inline code syntax highlighting in GitHub markdown?
Standard markdown also supports inline codeblocks by wrapping text in `single graves` . Is there any way to add syntax highlighting to these ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the report - both of the themes I tested on were from the same developer who used these non-standard names. I really should have verified on the default theme!
Ah good point