diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-09-19 12:09:51 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-09-21 12:37:42 -0700 |
commit | c266734448544a118ed80e47deaa2590131c7f84 (patch) | |
tree | d5793b1dc732456894c96e8ee6829dab9d539388 /test/writer.ms | |
parent | 5f7e7f539a02818d0a94309b15d648d51d1eaee6 (diff) | |
download | pandoc-c266734448544a118ed80e47deaa2590131c7f84.tar.gz |
Use pretty-simple to format native output.
Previously we used our own homespun formatting. But this
produces over-long lines that aren't ideal for diffs in tests.
Easier to use something off-the-shelf and standard.
Closes #7580.
Performance is slower by about a factor of 10, but this isn't
really a problem because native isn't suitable as a serialization
format. (For serialization you should use json, because the reader
is so much faster than native.)
Diffstat (limited to 'test/writer.ms')
-rw-r--r-- | test/writer.ms | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/writer.ms b/test/writer.ms index 329c959fc..fc2e66a34 100644 --- a/test/writer.ms +++ b/test/writer.ms @@ -653,8 +653,8 @@ Superscripts: a\*{bc\*}d a\*{\f[I]hello\f[R]\*} a\*{hello\ there\*}. .PP Subscripts: H\*<2\*>O, H\*<23\*>O, H\*<many\ of\ them\*>O. .PP -These should not be superscripts or subscripts, because of the unescaped -spaces: a\[ha]b c\[ha]d, a\[ti]b c\[ti]d. +These should not be superscripts or subscripts, because of the unescaped spaces: +a\[ha]b c\[ha]d, a\[ti]b c\[ti]d. .HLINE .SH 1 Smart quotes, ellipses, dashes @@ -973,8 +973,8 @@ and another.\** Here\[cq]s the long note. This one contains multiple blocks. .PP -Subsequent blocks are indented to show that they belong to the footnote (as -with list items). +Subsequent blocks are indented to show that they belong to the footnote (as with +list items). .IP .nf \f[C] @@ -982,8 +982,8 @@ with list items). \f[] .fi .LP -If you want, you can indent every line, but you can also be lazy and just -indent the first line of each block. +If you want, you can indent every line, but you can also be lazy and just indent +the first line of each block. .FE This should \f[I]not\f[R] be a footnote reference, because it contains a space.[\[ha]my note] Here is an inline note.\** |