You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Richard Körber (JIRA)" <ji...@apache.org> on 2018/02/25 09:54:00 UTC

[jira] [Updated] (DOXIA-571) Markdown does not support syntax highlighting any more

     [ https://issues.apache.org/jira/browse/DOXIA-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Körber updated DOXIA-571:
---------------------------------
    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:
{noformat}
```java
System.out.println("Hello World!");
```
{noformat}
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.

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

However it seems that Flexmark does not support syntax highlighting.

Example:
{noformat}
```java
System.out.println("Hello World!");
```
{noformat}
doxia-module-markdown < 1.8 applied Java syntax highlighting here. doxia-module-markdown 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.


> Markdown does not support syntax highlighting any more
> ------------------------------------------------------
>
>                 Key: DOXIA-571
>                 URL: https://issues.apache.org/jira/browse/DOXIA-571
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Markdown
>    Affects Versions: 1.8
>            Reporter: Richard Körber
>            Priority: Minor
>
> Starting with version 1.8, doxia-module-markdown changed from Pegdown to Flexmark.
> However it seems that Flexmark does not support syntax highlighting.
> Example:
> {noformat}
> ```java
> System.out.println("Hello World!");
> ```
> {noformat}
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)