mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-07 18:39:57 +00:00
22 lines
301 B
Plaintext
22 lines
301 B
Plaintext
title: StyleBlockWikiText
|
|
|
|
This syntax enables you to assign arbitrary styles to generated elements. For example:
|
|
|
|
{{{
|
|
@@color:#f00
|
|
This is in red!
|
|
@@
|
|
}}}
|
|
|
|
Generates the results:
|
|
|
|
@@color:#f00
|
|
This is in red!
|
|
@@
|
|
|
|
The HTML looks like this:
|
|
|
|
{{{
|
|
<p style="color:rgb(255, 0, 0);">This is in red!</p>
|
|
}}}
|