summaryrefslogtreecommitdiffstats
path: root/t/fmt/txt-markdown/Width.norm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 11:26:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 11:26:17 +0000
commit5df6c2aefebe3d2abcc939a88e294876d59f03ca (patch)
tree63fb332a0f21ddb91cb789c80cf64e134d373463 /t/fmt/txt-markdown/Width.norm
parentInitial commit. (diff)
downloadpo4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.tar.xz
po4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.zip
Adding upstream version 0.72.upstream/0.72
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/fmt/txt-markdown/Width.norm')
-rw-r--r--t/fmt/txt-markdown/Width.norm50
1 files changed, 50 insertions, 0 deletions
diff --git a/t/fmt/txt-markdown/Width.norm b/t/fmt/txt-markdown/Width.norm
new file mode 100644
index 0000000..93d4923
--- /dev/null
+++ b/t/fmt/txt-markdown/Width.norm
@@ -0,0 +1,50 @@
+% The document title with length over 40
+ symbols
+% The document first author
+ The document second author
+
+A nice long title which shouldn't be rewrapped
+==============================================
+
+This paragraph is 39 columns width.....
+
+This paragraph is 40 columns width......
+
+This paragraph is 41 columns
+width.......
+
+This paragraph is 39 columns width.....
+
+This paragraph is 40 columns width......
+
+This paragraph is 41 columns
+width.......
+
+
+# List items should be rewrapped two symbols shorter to accomodate the bullet marker
+
+* This list item is 37 columns width...
+* This list item is 38 columns width....
+* This list item is 39 columns
+ width.....
+ * Nested items should be rewrapped
+ even shorter.
+ * Like this: nested items should be
+ rewrapped even shorter.
+ * Or even as short as this one
+ here....
+ * But not like this one..............
+
+* This list item is 37 columns width.
+
+This paragraph is 42 columns
+[width][link]
+
+ This is a very long verbatim paragraph that shouldn't be rewraped no matter how long it is.
+
+```
+This is a very long verbatim paragraph that shouldn't
+be rewraped no matter how long it is.
+```
+
+[link]: https://example.com/sooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo/long