is to use the ''div'' Wiki processor:
{{{
{{{
#!div class=important style="border: 2pt solid; text-align: center"
This is the ''only'' way to go in Trac 0.11
}}}
}}}
Results in:
{{{
#!div class=important style="border: 2pt solid; text-align: center"
This is the ''only'' way to go in Trac 0.11
}}}
Note that if you don't specify a CSS class, the `wikipage` class will be added, so that the special layout of headers is respected in the
. If you specify explicitly the padding property, you have to take this into account (tip: [http://getfirebug.com/ get FireBug]!).
For spans, you should rather use the Macro call syntax:
{{{
Hello [[span(''WORLD'' (click [#world-anchor here]), style=color: green; font-size: 120%, id=world-anchor)]]!
}}}
Results in:
Hello [[span(''WORLD'' (click [#world-anchor here]), style=color: green; font-size: 120%, id=world-anchor)]]!
== Images ==
If you want display an image inline, append the following: '''?format=raw''' after the file name. For example, to display the Trac logo inline, use this syntax:
{{{
}}}
{{{
#!html
}}}
== More Information ==
* http://www.w3.org/ -- World Wide Web Consortium
* http://www.w3.org/MarkUp/ -- HTML Markup Home Page
----
See also: WikiProcessors, WikiFormatting, WikiRestructuredText