tiddlywikitiddlywiki5

How to escape the back-tick (`) character in tiddlywiki?


I would like to use the back-tick in regular text (not in a code snippet) in TW5. Is this possible?


Solution

  • In TiddlyWiki5 you can disable certain parsing rules using the \rules pragma

    A pragma is a special component of WikiText that provides control over the way the remaining text is parsed.

    http://tiddlywiki.com/#Pragma

    So if you add

    \rules except codeinline
    

    at the very(!) beginning of your tiddler text, any following backtick symbol in the text is not interpreted as special character.

    This comes however at the cost that you cannot use this symbol as wikitext-directive anymore to achieve inline-code for programming snippets. Instead you would need to add the html code tag manually.