I have a template which I use to extract Zotero highlights and colour and classify them according to the original highlighting colour I used in Zotero PDF reader. The result in my Obsidian template looks like this (I am using the Things theme):
As you notice, apart from the Quote title detailing the type of highlight, this type also appears in the quote block itself. This is because I am using ‘inline value::key’ pairs, so later on I can create specific filters with the Dataview plugin (for example, list all the ‘important’ quotes I have highlighted in all the papers I am using for my specific research).
For aesthetic reasons, I would like to hide the variable name in the quote, so I saw in the documentation that one can put the inline variable between parenthesis as follows. So in my template I have done this:
And then in the view output I get this:
As you can see, I am almost there…however I always get the font-family as Monospace, instead of the default sans-serif I had before.
I have tried to edit the CSS snippets, but no matter what I do, I cannot get it right (I am terrible with CSS). The only solution I found is to go to General Settings > Appearance > Monospace font, and from there completely override the Monospace font and choose Arial for example. But this affect to all block content, including blocks that for whatever the reason I would like to appear in Monospace (for example a specific block of code inside a note, etc.).
Any solution using a more surgical CSS, you CSS magicians? Many thanks!