[
https://issues.apache.org/jira/browse/DOXIA-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15076701#comment-15076701
]
Michael Osipov edited comment on DOXIA-501 at 1/2/16 11:41 PM:
---------------------------------------------------------------
I think it is impossible to fix because Velocity is unware of the content being
generated, it is just text. Doing {{\#\#\#}} should do the trick.
was (Author: michael-o):
I think it is impossible to fix because Velocity is unware of the content being
generated, it is just text. Doing {{\#\#\#}} should do the trick.
> Impossible to use ### header when also using Velocity
> -----------------------------------------------------
>
> Key: DOXIA-501
> URL: https://issues.apache.org/jira/browse/DOXIA-501
> Project: Maven Doxia
> Issue Type: Bug
> Components: Module - Markdown
> Affects Versions: 1.4
> Reporter: Hendrik Schreiber
> Labels: close-pending
>
> Markdown and Velocity don't play nicely with each other.
> A regular Markdown H3 is usually written like this:
> ### My Header
> This does not work with Velocity, because ## starts a comment. So, it needs
> to be escaped like this:
> \#\#\# My Header // DOES NOT WORK
> Unfortunately, this does not work, but simply generates "###" in the output,
> not a level 3 header. For some reason, Markdown does not interpret the "###".
> There is a workaround posted on
> http://mail-archives.apache.org/mod_mbox/maven-users/201303.mbox/%[email protected]%3e
> --- however, that is certainly not satisfying and very awkward.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)