Opened 6 years ago

Closed 5 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.

Subtickets

Change History (1)

comment:1 Changed 5 years ago by Loic Dachary

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.