Ciao again Soren Bjornstad ...
... more comment on Custom Markup (CM), as it is very useful ...
Note that for your OP you do NOT even need a pragma, merely ...
* ».someclass *TEXT
This produces the HTML ...
<p class="someclass wltc-l1 wltc">TEXT</p>
*Why?* *"»*" already is "*<p>*". And the "*.someclass*" method in CM will
apply a class to it.
TT
On Saturday, 27 February 2021 at 19:40:03 UTC+1 Soren Bjornstad wrote:
> I'm trying out the beta of the custom markup plugin
> <https://wikilabs.github.io/editions/custom-markup/> and finding it quite
> handy. However, I'm seeing a major limitation and want to be sure I'm not
> just missing something. I can write a pragma like this:
>
> \customize angle=sc _classes="someclass" _mode=block
>
> »sc Here is a paragraph with the someclass style.
>
> This is very convenient! But it appears that I have to write this pragma
> in *every* tiddler where I want to use this class, since pragmas can't
> transclude into another tiddler or be included in a template. This makes
> the plugin more or less useless for my purposes (adding custom styling for
> a particular knowledge domain that would be needed in many/most tiddlers).
> Is there a method I'm missing for defining this markup without using a
> pragma, or for applying a pragma to multiple tiddlers somehow?
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/c5ad0b0f-2e6b-4896-aeb1-adac2e0d8204n%40googlegroups.com.