Markdown lists without a preceding blank line render as a single line

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • 190

      Issue Summary

      When using a Markdown list without a preceding blank line will render the items on a single line. Note that this is acceptable in traditional Markdown (as per Markdown.pl), however in the CommonMark spec, it is noted that lists do not need a preceding blank line.

      Steps to Reproduce

      1. Suppose the following code is part of a Markdown formatted file:
            I need to buy
            - new shoes
            - a coat
            - a plane ticket
            

      Expected Results

      The code is rendered as follows:

      I need to buy

      • new shoes
      • a coat
      • a plane ticket

      Actual Results

      The code is rendered as follows:

      I need to buy - new shoes - a coat - a plane ticket

      Workaround

      Use the Markdown.pl style lists which require a blank line before the list.

              Assignee:
              Unassigned
              Reporter:
              John van der Loo (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: