You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/01/03 00:41:39 UTC
[jira] [Commented] (DOXIA-501) Impossible to use ### header when
also using Velocity
[ https://issues.apache.org/jira/browse/DOXIA-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15076701#comment-15076701 ]
Michael Osipov commented on DOXIA-501:
--------------------------------------
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
>
> 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/%3c514AFC2F.9070106@apache.org%3e --- however, that is certainly not satisfying and very awkward.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)