Add the drawer first tests.

This commit is contained in:
Tom Alexander 2023-04-16 17:41:14 -04:00
parent ed6fda9918
commit beff8f8999
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
5 changed files with 25 additions and 8 deletions

View File

@ -54,10 +54,10 @@ Sections are divided by headlines.
This test interleaves the opening and closing of each element container to see which element becomes parsed vs gets broken up. The row determines the first opening element and the column determines the second opening element.
# Section first and section second tests are identical so I only included section first in the repo.
| | Section | Greater Block | Drawer | Dynamic Block | Footnote Definition | Plain List |
|---------------------+---------+---------------+---------------+---------------+---------------------+---------------|
|---------------------+---------+---------------+---------+---------------+---------------------+------------|
| Section | - | Section | Section | Section | Section | Section |
| Greater Block | Section | First |First |First | First |First |
| Drawer | Section | First | | | | |
| Greater Block | Section | First | First | First | First | First |
| Drawer | Section | First | First | First | First | First |
| Dynamic Block | Section | First | | | | |
| Footnote Definition | Section | First | | | | |
| Plain List | Section | Second | | | | |

View File

@ -0,0 +1,5 @@
:firstdrawer:
:seconddrawer:
foo
:end:
:end:

View File

@ -0,0 +1,4 @@
:drawername:
#+BEGIN: foo :hlines 1 :id global
:end:
#+END:

View File

@ -0,0 +1,4 @@
:drawername:
[fn:1] footnote.
:end:
Is this still in the footnote?

View File

@ -0,0 +1,4 @@
:drawername:
1. foo
:end:
2. bar