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

New {{raw}} macro to generate a RawBlock

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 13.1-rc-1
    • 13.0
    • Macro
    • None
    • Integration
    • Unknown

    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

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

              Dates

                Created:
                Updated:
                Resolved: