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

Heading XWiki syntax

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Fix
    • Minor
    • None
    • 1.7.1
    • {Unused} Wiki features
    • None
    • High

    Description

      The heading wiki markup is triggered by placing a line of text prefixed by a sequence of 1(.1)*. This filter catches a whole line.

      It generates markup specifying that the delimited text is a heading, having the level equal to the number of 1s. In XHTML the <h> tags are used.

      Expected behavior (to be defined):

      1 Level 1 heading
      1.1 Level 2 heading
      1.1.1 Level 3 heading
      1.1.1.1 Level 4 heading
      1.1.1.1.1 Level 5 heading
      1.1.1.1.1.1 Level 6 heading
      1.1.1.1.1.1.1 Not a heading
         1    Another level 1 heading   
      2 Not a heading
      1.1 Duplicate
      1.1 Duplicate
      1.1 Heading ~~with~~ __other *wiki*__ markup
      1.1 Heading with {style}macros{style}
      
      TODO: tocNumbered, tocData
      

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: