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

Markdown does not support syntax highlighting any more

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: Module - Markdown
    • Labels:
      None

      Description

      Starting with version 1.8, doxia-module-markdown changed from Pegdown to Flexmark.

      However it seems that Flexmark does not support syntax highlighting.

      Example:

      ```java
      System.out.println("Hello World!");
      ```
      

      doxia-module-markdown < 1.8 applied Java syntax highlighting here. doxia-module-markdown 1.8 does not. As doxia-module-markdown is used mostly for technical documentation in maven, I think this is a major regression.

      Possible workaround: Use doxia-module-markdown 1.7.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                slachiewicz Sylwester Lachiewicz
                Reporter:
                shred Richard K├Ârber
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: