smu

Simple markup processor
git clone https://git.sinitax.com/codemadness/smu
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 7fa950993c6d6deafe7787547951abdcec6e1a55
parent 7228740ed1e3b14d19744cde41655c21e2e84035
Author: Karl Bartel <karl42@gmail.com>
Date:   Wed,  2 Oct 2019 13:06:09 +0200

End list when indent is not reached

Otherwise
```
- foo
- bar
+ baz
```
will become a nested list

Diffstat:
Msmu.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/smu.c b/smu.c @@ -391,6 +391,8 @@ dolist(const char *begin, const char *end, int newblock) { else break; } + else if (j < indent) + run = 0; } ADDC(buffer, i) = *p; }