% if isinline: [mathjaxinline]${mathstr}[/mathjaxinline] % else: [mathjax]${mathstr}[/mathjax] % endif ${tail}