Closed diunko closed 11 years ago
/cc @arikon @afelix
@diunko Pythonic-like behavior is OK IMO. But headers should break lists.
@diunko What about simple text? Does it work also (no such case in tests for now)?
What if we try to define intended behavior more precisely here https://github.com/veged/shmakowiki/pull/18?
Please reopen pull request to the master
branch
@diunko Will you reopen PR?
There's a lot to discuss on how blocks inside lists should behave. What blocks are valid inside lists and how to treat them, e.g. headers, paragraphs?
Anyhow, here is a first take on implementation. It behaves in somewhat pythonic way: extension block is treated as nested if opening extension mark has more spaces in front of it then containing list bullet has. Spaces before statements inside extension block are cut off upto the point where starting extension mark lies. Spaces before closing extension mark don't matter.
I.e. extension block here
gets translated into