From b13625daf01ddf42a1d8c6fcea3a1061a041d9c6 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 14 Jun 2012 19:01:06 +0100 Subject: [PATCH] Clarificating --- tw5.com/tiddlers/wikitextrules/StyleBlockWikiText.tid | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tw5.com/tiddlers/wikitextrules/StyleBlockWikiText.tid b/tw5.com/tiddlers/wikitextrules/StyleBlockWikiText.tid index 2a9023713..1789a97c8 100644 --- a/tw5.com/tiddlers/wikitextrules/StyleBlockWikiText.tid +++ b/tw5.com/tiddlers/wikitextrules/StyleBlockWikiText.tid @@ -4,6 +4,7 @@ This syntax enables you to assign arbitrary styles to generated elements. For ex {{{ @@color:#f00 +@@text-decoration:underline This is in red! @@ }}} @@ -11,13 +12,14 @@ This is in red! Generates the results: @@color:#f00 +@@text-decoration:underline This is in red! @@ The HTML looks like this: {{{ -

This is in red!

+

This is in red!

}}} Note that the style block doesn't generate any HTML elements itself, but instead causes the styles to be applied to all of the elements contained within the style block. This means that you can assign styles to elements generated from WikiText. For example, here is a list with some additional styles applied: