Edgewall Software

Changes between Initial Version and Version 22 of Ticket #2048


Ignore:
Timestamp:
Nov 30, 2006, 12:27:36 PM (15 years ago)
Author:
Christian Boos
Comment:

Well, OK, so I'll also adapt the description, to make this clear.

Any new idea on the topic, by the way?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2048

    • Property Status newreopened
    • Property Severity minornormal
    • Property Summary Add 'notice' style for the Wiki formattingWiki macros for generating `<div>`s and `<span>`s with classes
    • Property Milestone0.11
    • Property Keywords macro wikiprocessor added
  • Ticket #2048 – Description

    initial v22  
    1 I would like to have a wiki notation for highlighting sentences
    2 in a page, in a more striking way than just bold or italic.
     1My original request was:
     2 I would like to have a wiki notation for highlighting sentences
     3 in a page, in a more striking way than just bold or italic.
    34
    4 Typical use cases would be for short words like "FIXME" or "TODO",
    5 that should immediately stand out from normal text,
    6 so that it would be clear that those are inlined comments
    7 to the text itself.
     5 Typical use cases would be for short words like "FIXME" or "TODO",
     6 that should immediately stand out from normal text,
     7 so that it would be clear that those are inlined comments
     8 to the text itself.
    89
    9 The proposed syntax would be: *** TODO ***
     10 The proposed syntax would be: *** TODO ***
    1011
    11 and would be rendered as: [[html(<span style="background: #fcb;border: 1px dotted #d00; color: #500; padding: 0 .5em 0 .5em; margin: .5em;">TODO</span>)]]
     12 and would be rendered as: [[html(<span style="background: #fcb;border: 1px dotted #d00; color: #500; padding: 0 .5em 0 .5em; margin: .5em;">TODO</span>)]]
     13
     14That particular example will be supported by the th:WikiGoodiesPlugin.
     15
     16However, 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.
    1217
    1318