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

Markdown does not support syntax highlighting any more

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8
    • 1.9.1
    • Module - Markdown
    • 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

              hboutemy Herve Boutemy
              shred Richard Körber
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: