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

Allow including a section with an id defined by the user

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 11.10
    • None
    • Unknown

    Description

      The idea is to allow the user to use the id macro as follows:

      {{id name="my"/}}
      
      == My Heading ==
      

      And then use:

      {{include reference="..." section="my"/}}
      

      The rationale:

      • Hard to find the id
      • Not stable (if the heading title changes the include is broken)

      See https://extensions.xwiki.org/xwiki/bin/view/Extension/Include%20Macro?editor=inline#HParametersdefinition

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: