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

Add Code Block to represent code content

    XMLWordPrintable

Details

    • Idea
    • Resolution: Unresolved
    • Major
    • None
    • 4.4
    • API

    Description

      A lot of syntaxes have ways to represent code blocks (in html it's the code tag, in markdown it's by indenting, etc).

      We should consider having a CodeBlock in XWiki Rendering and possibly a syntax too in the XWiki Syntax.

      This will make it better to support input syntaxes such as HTML or Markdown (right now we generate a Code Macro Block when we find a code block in Markdown, which isn't nice since the Code Macro is optional).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: