Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6, 1.9
-
None
Description
Pegdown, as well as other Markdown parsers, translates code blocks to <pre><code>. This is the standard as per the Markdown specifications and both themes and tools (e.g. http://highlightjs.org/) rely on this syntax.
However, the doxia markdown module overrides this behaviour and uses "<div class="source"><pre>. It would be nice to revert the default behaviour to the standard. If there are use cases for such an alternative syntax, it could be provided as an option.
Attachments
Issue Links
- is fixed by
-
DOXIA-616 Markdown: Properly expose the language specified in fenced code blocks
- Closed
- is related to
-
DOXIA-571 Markdown does not support syntax highlighting any more
- Closed
-
DOXIA-616 Markdown: Properly expose the language specified in fenced code blocks
- Closed
- relates to
-
DOXIA-538 Tag <tt></tt> used for monospaced is not a valid html5 tag
- Closed
-
DOXIA-451 Tweak Doxia Markdown module HTML to better match
- Closed
-
DOXIA-507 Using Jygments as syntax highlighter to implement better pegdown HTML formatter
- Closed