You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (Jira)" <ji...@apache.org> on 2020/02/13 20:56:00 UTC

[jira] [Updated] (DOXIA-521) Markdown: Allow using the standard "
" for code blocks

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

Herve Boutemy updated DOXIA-521:
--------------------------------
    Affects Version/s: 1.9

> Markdown: Allow using the standard "<pre><code>" for code blocks
> ----------------------------------------------------------------
>
>                 Key: DOXIA-521
>                 URL: https://issues.apache.org/jira/browse/DOXIA-521
>             Project: Maven Doxia
>          Issue Type: Improvement
>          Components: Module - Markdown
>    Affects Versions: 1.6, 1.9
>            Reporter: Santiago M. Mola
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)