vito / booklit

a pretty lit content authoring system
https://booklit.page
MIT License
175 stars 55 forks source link

\code{{{foo}}} is parsed incorrectly #11

Closed vito closed 7 years ago

vito commented 7 years ago

this broke with interspersing. maybe a precedence issue? or maybe that never supported "sentence" form?

vito commented 7 years ago

decided against this.

a single-line form of {{{verbatim}}} is not very useful, because many cases would require either special handling for {} anyway (to handle \code{{{\foo{bar}}}}), or adding escape rules for them, which just makes it behave like normal braces. might as well just do \code{\\foo\{bar\}} at that point.