Added support for style blocks

This commit is contained in:
Jeremy Ruston
2012-06-14 18:18:32 +01:00
parent fa279514c7
commit 11c9031873
5 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
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>
}}}