Closed tdegeus closed 7 months ago
The best is to allow regex
input for texclean.
This could also allow, for example, to add a newline after sections:
\paragraph{...}
My text
would become
\paragraph{...}
My text
The problem is however that regex
does not support matching brackets
See https://github.com/tdegeus/texplain/issues/112 for regex finding matching brackets
{em ...}
->\emph{...}
{it ...}
->\textit{...}