maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DOXIA-521) Markdown: Allow using the standard "<pre><code>" for code blocks
Date Tue, 26 Jan 2016 20:59:39 GMT

    [ https://issues.apache.org/jira/browse/DOXIA-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15118000#comment-15118000
] 

Robert Scholte commented on DOXIA-521:
--------------------------------------

According to [~krosenvold] in [r1465675|http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-markdown/src/main/java/org/apache/maven/doxia/module/markdown/MarkdownToDoxiaHtmlSerializer.java?r1=1465675&r2=1465674&pathrev=1465675]
this is better...

> 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
>            Reporter: Santiago M. Mola
>
> 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
(v6.3.4#6332)

Mime
View raw message