maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Körber (JIRA) <j...@apache.org>
Subject [jira] [Updated] (DOXIA-571) Markdown does not support syntax highlighting any more
Date Sun, 25 Feb 2018 09:54:00 GMT

     [ 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)

Mime
View raw message