Files
Evan Silberman fdef25eb6e Respect empty LineBlock lines in plain writer
The plain writer behaved as a markdown variant with Ext_line_blocks
turned off, and so empty lines in a line block would get eliminated.
This is surprising, since if there's anything where the intent can be
preserved in plain text output it's empty lines.

It's still a bit surprising to have nbsps in plain text output, as in
the test, where the distinction doesn't really matter, but that'd be an
orthogonal change.
2024-11-11 16:00:47 -08:00

664 B
Raw Permalink Blame History

% pandoc -t plain -f markdown
| 'Twas brillig, and the slithy toves
|       Did gyre and gimble in the wabe:
| All mimsy were the borogoves,
|       And the mome raths outgrabe.
|
| "Beware the Jabberwock, my son!
|       The jaws that bite, the claws that catch!
| Beware the Jubjub bird, and shun
|       The frumious Bandersnatch!"
^D
Twas brillig, and the slithy toves
      Did gyre and gimble in the wabe:
All mimsy were the borogoves,
      And the mome raths outgrabe.

“Beware the Jabberwock, my son!
      The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
      The frumious Bandersnatch!”