From: Ciro Santilli Date: Mon, 2 Jun 2014 15:47:21 +0000 (+0200) Subject: Add Setex examples to the multiple headers test. X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/07a3c102b899ce8137fcd48bfbcaa21c12173055?ds=sidebyside;hp=-c Add Setex examples to the multiple headers test. --- 07a3c102b899ce8137fcd48bfbcaa21c12173055 diff --git a/test/header.md b/test/header.md new file mode 100644 index 0000000..084eef3 --- /dev/null +++ b/test/header.md @@ -0,0 +1,77 @@ +This file is used for tests which require there to be multiple headers in different relative positions to each other. + +Each header should have an unique text that identifies it. + +--- + +ATX tests. + +# h1 space + +#h1 nospace + +# h1 2 spaces + +# h1 trailing hash # + +## h2 space + +##h2 nospace + +## h2 trailing hash ## + +### h3 space + +###h3 nospace + +### h3 trailing hash ### + +#### h4 + +##### h5 + +###### h6 + +--- + +Relative positions. + +# h1 before h2 + +## h2 between h1s + +# h1 after h2 + +--- + +Setex tests. + +setex h1 +======== + +setex h2 +-------- + +setex h1 single punctuation += + +setex h1 punctuation longer than header +================================ + +--- + +Mixed tests. + +setex h1 before atx +=================== + +## atx h2 + +### atx h3 + +# atx h1 + +setex h2 +------------------ + +### atx h3 2 diff --git a/test/multiple_headers.md b/test/multiple_headers.md deleted file mode 100644 index b6a403a..0000000 --- a/test/multiple_headers.md +++ /dev/null @@ -1,27 +0,0 @@ -This file is used for tests which require there to be multiple headers in different relative positions to each other. - -Each header should have an unique text that identifies it. - -# h1 space - -#h1 nospace - -# h1 trailing hash # - -## h2 space - -##h2 nospace - -## h2 trailing hash ## - -### h3 space - -###h3 nospace - -### h3 trailing hash ### - -# h1 before h2 - -## h2 between h1s - -# h1 after h2