Css snippet to format text (in a similar way to `inline code`)

Things I have tried

What I’m trying to do

Is it possible to use a css code snippet to format text wrapped in double backticks separately to the existing formatting that is applied to inline code that’s wrapped in single backticks?

Obsidian treats both single and double backtick-wrapped text the same (double backticks are recognized as inline code) but I’d like to apply differently styling depending on whether single or double backticks have been used.

I’m brand new to Obsidian (and PKM in general) and I have basic css capabilities, so I can do the styling aspect, but I don’t know how to detect double backtick comments and have those styled separately without affecting the existing styling for single backtick wrapped inline code.

If anyone is able to help, I’d be most grateful.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.