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

Use directly the UniAst syntax instead of going through Markdown

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • 18.1.0-rc-1
    • 18.0.1
    • Blocknote
    • None
    • Unknown

    Description

      When editing a page with BlockNote we are currently converting (server-side) from XWiki 2.1 syntax to Markdown, and then from Markdown to UniAst (client-side). The poses some problems:

      • it's slower than if we went directly from XWiki to UniAst
      • it adds a few external dependencies to contributed XWiki extensions
      • Markdown is very limited so we lose some information in the conversion process.
      • It's not possible to protect the macro output without relying on HTML

      We already implemented the UniAst parser/renderer server-side so we just need to use it.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: