Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-501

Impossible to use ### header when also using Velocity

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.4
    • None
    • Module - Markdown

    Description

      Markdown and Velocity don't play nicely with each other.

      A regular Markdown H3 is usually written like this:

          1. 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.

      Attachments

        Activity

          People

            hboutemy Herve Boutemy
            hendriks73 Hendrik Schreiber
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: