koka-lang / madoko

Madoko is a fast markdown processor for high quality academic and technical articles
Other
393 stars 42 forks source link

Use Lists within Custom Blocks #78

Open tholzschuh opened 2 years ago

tholzschuh commented 2 years ago

When writing mathematical definitions, it is very common to define several related things at once in a single "Definition Environment".

However, madoko doesn't seem to be able to use lists within custom environments like Definition/Theorem/... except if one start with two empty lines like this:

~ Definition

a. foo b. bar ~

These two extra lines will result in odd output in LaTeX though, which is very undesirable.

Are you supposed to use ordinary LaTeX-List environments in custom blocks?