Opened 10 years ago

Closed 9 years ago

#949 closed defect (invalid)

Markdown rendering does not respect newlines in literal text

Reported by: David Thompson Owned by:
Priority: minor Milestone:
Component: programming Keywords: markdown
Cc: Parent Tickets:

Description

For an example of this problem, see http://media.dthompson.us/u/davexunit/m/signal-generator-in-action-d10c/. The code snippet in the description should have several newlines, but it has all been crammed together, making it harder to read.

Change History (1)

comment:1 by Loic Dachary, 9 years ago

Resolution: invalid
Status: newclosed

For code formatting, prepend four space at the beginning of each line and they won't be wrapped together.

bin/python -m markdown <<EOF

(lambda ()

foo())

EOF
<pre><code>(lambda ()

foo())</code></pre>

Note: See TracTickets for help on using tickets.