Ticket #2048 (closed enhancement: fixed)
Wiki macros for generating `<div>`s and `<span>`s with classes
| Reported by: | cboos | Owned by: | cboos |
|---|---|---|---|
| Priority: | high | Milestone: | 0.11 |
| Component: | wiki system | Version: | devel |
| Severity: | major | Keywords: | macro wikiprocessor |
| Cc: | dkg-debian.org@… |
Description (last modified by cboos) (diff)
My original request was:
I would like to have a wiki notation for highlighting sentences in a page, in a more striking way than just bold or italic.
Typical use cases would be for short words like "FIXME" or "TODO", that should immediately stand out from normal text, so that it would be clear that those are inlined comments to the text itself.
The proposed syntax would be: *** TODO ***
and would be rendered as: TODO
That particular example will be supported by the th:WikiGoodiesPlugin.
However, this ticket raises the more general concern that Trac core should have a macro that supports generating <div>s and <span>s with classes. This is even more necessary with 0.11, as there, the HTML processor blocks no longer support leaving elements open.



