Closed twMat closed 11 months ago
I'd agree that such a basic highlight is useful.
bump
So you mean transform @@background:yellow; content@@
to a span
tag, and @@content@@
to mark
tag.
@linonetwo ... @@
is about Styles and classes ... imo not the same as <mark>
You are right, @@
only add style or class to the outer element, not adding a warper element.
Maybe @@highlight@@
can add a special highlight class, that can be config in the palette.
I think the OT is actionable and imo makes sense, so I'll bump the issue
It's a good idea. I don't think there are any backwards compatibility considerations because @@foobar@@
at present doesn't do anything useful.
So no misunderstanding: I'm hoping it will work also for @@strings with spaces@@
So no misunderstanding: I'm hoping it will work also for @@strings with spaces@@
Yes is will. It's like any other "emphasis" rule we have eg: bold
@twMat -- IMO this one can be closed -- The default colour has been implemented some time ago. See: https://tiddlywiki.com/#Formatting%20in%20WikiText
I see, it generates <span class="tc-inline-style">highlight</span>
where tc-inline-style
can be moded.
Thank you @pmario
@@background:yellow; content@@
works but there is no default option without parameters.I propose
@@content@@
as a quick way to get the typical faint(!) yellow background on the content.