this post was submitted on 06 Oct 2023
6 points (87.5% liked)

ObsidianMD

4099 readers
1 users here now

Unofficial Lemmy community for https://obsidian.md

founded 1 year ago
MODERATORS
 

Anyone want to write me some #CSS to make the traditional writer's reminder of missing information, TK, show up prominently in #Obsidian wherever it occurs within a long text?

I'm thinking sans serif bold small caps, nicely letter spaced, maybe in light orange. Like Medium does it. Doesn't have to be offset to the side, just a nice visual blip to catch one's attention in the flow of the text.

@obsidianmd

all 7 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 1 year ago

@ellane @obsidianmd Would this work for your, Ellane?

I can make it more fancy, stand out more, if you like.

It would require you to “span” it. But that could be done with a template or so.

<span>TK</span>

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

@ellane @obsidianmd I could get you something like that with a “custom” native callout :). Would that work?

I’m still at work, but after I can make an attempt.

EDIT I’m sorry, I misread the requirement. What you describe can not be achieved with CSS alone. It’ll require some Javascript to detect the ‘TK’. I will give it a try.