Support blocks with unindented content

list items only contain content that is indented to their respective
level. Except when that content is inside a block. To allow for this we have to
ignore the parentStop when parsing a block and just include everything until
the end of that block.
Can't think of any problems with this right now. Let's see if this comes
back to bite me.
This commit is contained in:
Niklas Fasching 2018-12-18 23:36:51 +01:00
parent ade2a1c875
commit 42dc70e7ad
6 changed files with 87 additions and 14 deletions

View file

@ -4,10 +4,6 @@ Take a look at [[https://niklasfasching.github.io/go-org/][github pages]] for so
* next
- test against [[https://raw.githubusercontent.com/kaushalmodi/ox-hugo/master/test/site/content-org/all-posts.org][ox-hugo all-posts.org]]
- ATTR_HTML without printing child - i.e. above other, non-affiliated keyword
- blocks with indent < their parent
#+BEGIN_SRC
> this
#+END_SRC
- more keywords: https://orgmode.org/manual/In_002dbuffer-settings.html
- headlines
- unique ids