Update test case 1.
This commit is contained in:
parent
49be5ae7b1
commit
89040c51a6
@ -62,27 +62,18 @@ This test interleaves the opening and closing of each element container to see w
|
|||||||
| Drawer | Section | First | First | First | First | First |
|
| Drawer | Section | First | First | First | First | First |
|
||||||
| Dynamic Block | Section | First | First | First | First | First |
|
| Dynamic Block | Section | First | First | First | First | First |
|
||||||
| Footnote Definition | Section | First | First | First | - | - |
|
| Footnote Definition | Section | First | First | First | - | - |
|
||||||
| Plain List | Section | Second | Second | Second | - | First |
|
| Plain List | Section | Second | Second | Second | - | First |
|
||||||
* Possible solutions
|
* Possible solutions
|
||||||
** Create tiers of exit matchers
|
** Greater blocks, drawers, and dynamic blocks disable plain list exit matcher
|
||||||
- Document level (sections/headlines)
|
*** Test Case 1
|
||||||
- Greater Block / Dynamic Block
|
|
||||||
- Remaining element containers
|
|
||||||
- Object containers
|
|
||||||
*** What if we ignore exit matchers of lower tiers
|
|
||||||
**** Test Case 1
|
|
||||||
#+begin_src org
|
#+begin_src org
|
||||||
# A plain list containing a greater block that contains a drawer
|
|
||||||
1. foo
|
1. foo
|
||||||
,#+begin_center
|
,#+begin_center
|
||||||
:drawername:
|
2. bar
|
||||||
|
|
||||||
|
|
||||||
:end:
|
baz
|
||||||
,#+end_center
|
,#+end_center
|
||||||
2. bar
|
|
||||||
:drawername:
|
|
||||||
|
|
||||||
|
|
||||||
:end:
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** Parse out headlines first
|
||||||
|
Then go through elements parsing them in-order
|
||||||
|
@ -1,13 +1,7 @@
|
|||||||
# A plain list containing a greater block that contains a drawer
|
|
||||||
1. foo
|
1. foo
|
||||||
#+begin_center
|
#+begin_center
|
||||||
:drawername:
|
2. bar
|
||||||
|
|
||||||
|
|
||||||
:end:
|
baz
|
||||||
#+end_center
|
#+end_center
|
||||||
2. bar
|
|
||||||
:drawername:
|
|
||||||
|
|
||||||
|
|
||||||
:end:
|
|
||||||
|
Loading…
Reference in New Issue
Block a user