From 62af2e64e28f89337fce8719776a02375ce6ce8b Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 4 Feb 2013 10:26:26 +0000 Subject: [PATCH] Fixed obsolete wikitext format --- .../wikitextrules/StyleBlockWikiText.tid | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/editions/tw5.com/tiddlers/wikitextrules/StyleBlockWikiText.tid b/editions/tw5.com/tiddlers/wikitextrules/StyleBlockWikiText.tid index 8f2732fe5..15aac1f5c 100644 --- a/editions/tw5.com/tiddlers/wikitextrules/StyleBlockWikiText.tid +++ b/editions/tw5.com/tiddlers/wikitextrules/StyleBlockWikiText.tid @@ -2,12 +2,12 @@ title: StyleBlockWikiText This syntax enables you to assign arbitrary styles to generated elements. For example: -{{{ +``` @@color:#f00; @@text-decoration:underline; This is in red! @@ -}}} +``` Generates the results: @@ -18,26 +18,26 @@ This is in red! The HTML looks like this: -{{{ +```

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: -{{{ +``` @@background-color:#00f; * First item * Second item * Third item @@ -}}} +``` The generated HTML is: -{{{ -