Tilde optionally adds two different features which are syntactically built around the
~ character: delete which inserts
<del></del> tags and subscript which inserts
<sub></sub> tags. Syntax behavior for smart and non-smart variants of delete models that of BetterEm.
||Use smart logic with delete characters:
||Enable delete feature.|
||Enable subscript feature.|
The first feature adds delete emphasis (
del tags) when inline text is surrounded by double tildes:
~~delete me~~ →
delete me. It can optionally be configured to use smart logic:
The second feature adds subscripts using single tildes:
CH~3~CH~2~OH → CH3CH2OH. It uses Pandoc style logic, so if your subscript needs to have spaces, you must escape the spaces:
text~a\ subscript~ → texta subscript.