Source

xmlwiko / transitions.wiki

Full commit
@title: Possible transitions of xmlwiko environments
@author: Dirk Baechle

void -> section
void -> par
void -> env

par -> section*
par -> section-

section* -> section*
section* -> par
section* -> env

par -> env
env -> par
env -> section


par -> par


Processing: Do not collect all pars in a section to one block but...
process single par blocks individually and close pending envs (em, strong) at the end of the block!
We need to keep track of which env (=mode) we are in, in order to do the right thing.