Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9432

Make the Box Macro look nicer

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • None
    • 5.1
    • {Unused} Colibri Skin
    • None
    • Unknown

    Description

      It would be nice that the following:

      {{box}}my message{{/box}}
      

      would generate the same as:

      {{velocity}}
      (% class="box plainmessage"%)(((
      my message
      )))
      {{/velocity}}
      

      See attached screenshot that shows the differences and which corresponds to the execution of this content:

      {{box}}my message{{/box}}
      
      {{velocity}}
      (% class="box plainmessage"%)(((
      my message
      )))
      {{/velocity}}
      
      {{box title="==Quick breakfast== " image="http://farm4.static.flickr.com/3260/2894738978_ca0d3afd07_t_d.jpg"}}
      * cheese
      * omelet
      * milk
      {{/box}}
      

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: