[TW5] How to put backtick inside backticks

198 views
Skip to first unread message

Branimir Braykov

unread,
Jul 22, 2014, 10:35:02 AM7/22/14
to tiddl...@googlegroups.com
I think I hit the escaping problem.
I want to put a backtick inside single backticks in my text so it becomes all pink and monospacedly formatted.
I tried html entities but didn't work
Is there a way to do it?

Jeremy Ruston

unread,
Jul 22, 2014, 1:15:43 PM7/22/14
to TiddlyWiki
Hi Branimir

You can try using the HTML entity for backtick:

<code>&#96;something</code>

The disadvantage is that the content of the <code> element will be wikified -- that's why the HTML entity works. But it means that you need to be careful to not include any text that will get inadvertantly wikified.

Best wishes

Jeremy



--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.



--
Jeremy Ruston
mailto:jeremy...@gmail.com

PMario

unread,
Jul 22, 2014, 9:03:32 PM7/22/14
to tiddl...@googlegroups.com
try your text with a double backtick at the beginning and the end:

`` test `backtick` ``

-mario

Branimir Braykov

unread,
Jul 23, 2014, 3:52:58 AM7/23/14
to tiddl...@googlegroups.com
@Jeremy: Tried this and doesn't work I just see a pink: &#96;

@Mario: Your suggestion did work. I wanted to have a pink single backtick, so I typed `````, but that didn't do it.
The trick was to separate the backtick with spaces, so it works like this: `` ` ``
Your example was quite correct.

Thank you, both!


--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/d3olOC2JCkI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.

Jeremy Ruston

unread,
Jul 23, 2014, 5:22:56 AM7/23/14
to tiddl...@googlegroups.com
Hi Branimir

@Jeremy: Tried this and doesn't work I just see a pink: &#96;

Can you show me exactly what you tried? Did you use the HTML code element?

Best wishes

Jeremy


You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

Branimir Braykov

unread,
Jul 23, 2014, 5:50:50 AM7/23/14
to tiddl...@googlegroups.com
Hi, Jeremy,
yes, this is just a part of my sentence:

Mario's suggestion (works):
You can use `` ` `` (backticks) to call the function.

Your suggestion (works):
You can use <code>&#96;</code> (backticks) to call the function.

Also tried (doesn't work):
You can use `&#96;` (backticks) to call the function.


I tested it all again.
I have to say I am sorry, your suggestion DOES really WORK.
I can't seem to figure out what went wrong last time. I have tried all kinds of combinations, spaces, no spaces, entities, etc.
I am sorry to have wasted your time!

Jeremy Ruston

unread,
Jul 23, 2014, 5:53:48 AM7/23/14
to TiddlyWiki
Hi Branimir

No worries, very glad we were able to help.

Best wishes

Jeremy


--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages