I would like to use the back-tick in regular text (not in a code snippet) in TW5. Is this possible?
It is also possible to use the hex code (`
) or the HTML code (`
) for back-tick
I wanted to display a back-tick in a code block, so used:
<code>`</code>
Using the HTML code looks like:
<code>`</code>
This has the advantage that you're not disabling any parsing rules.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With