maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DOXIA-501) Impossible to use ### header when also using Velocity
Date Sat, 02 Jan 2016 23:42:39 GMT

    [ 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:42 PM:
---------------------------------------------------------------

I think it is impossible to fix because Velocity is unware of the content being processed,
it is just text. Doing {{&#92;#&#92;#&#92;#}} 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 {{&#92;#&#92;#&#92;#}} 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/%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)

Mime
View raw message