Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-599

New {{raw}} macro to generate a RawBlock

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 13.0
    • Fix Version/s: 13.1-rc-1
    • Component/s: Macro
    • Labels:
      None
    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Right now it's not possible in syntaxes to generate a RawBlock.

      Use case example:

      • The LaTeX extension provides templates which can have extension points
      • These UIX must generate latex/1.0 content
      • The syntax of extensions points is the syntax of the wiki page holding the UIExtensionClass xobject.
      • That page cannot be in "latex/1.0" syntax since we don't have a parser for that syntax id.
      • Thus we have to use for example "xwiki/2.1" syntax to, somehow, generate a RawBlock with a target syntax of "latex/1.0".

      Usage example:

      {{raw syntax="latex/1.0"...{{/raw}}

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: