Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8, 1.9, 1.9.1
-
None
Description
Use Case
Writers can specify the language used in a fenced code block (typically for syntax highlighting), as in the example below:
```java System.out.println("Beautiful\n"); ```
Currently, the Doxia module for Markdown does not expose this information ("java") in the produced HTML, so a Maven skin (or frontend renderer) cannot leverage it.
Produced HTML:
<div class="source"> <!-- No mention of Java :-( --> <pre> System.out.println("Beautiful\n"); </pre> </div>
Wanted result:
<div class="source java"> <!-- :-) --> <pre> System.out.println("Beautiful\n"); </pre> </div>
Specification
This should do the trick.