Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-521

Markdown: Allow using the standard "<pre><code>" for code blocks

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: Module - Markdown
    • Labels:
      None

      Description

      Pegdown, as well as other Markdown parsers, translates code blocks to <pre><code>. This is the standard as per the Markdown specifications and both themes and tools (e.g. http://highlightjs.org/) rely on this syntax.

      However, the doxia markdown module overrides this behaviour and uses "<div class="source"><pre>. It would be nice to revert the default behaviour to the standard. If there are use cases for such an alternative syntax, it could be provided as an option.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                smolav Santiago M. Mola
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: