Even if I use the code block ticks, it still drops in and out of code, which (to me) is not expected behaviour. (As a user it looks like TW5 is trying to match ` ` before it matches ``` ```)
The <code> <\code> idea works, though - just somewhat less convenient. Forgot to say that I've a 5 alpha 10 On Sunday, 27 October 2013 22:00:02 UTC+8, Jeremy Ruston wrote: > > Hi Ramon > > The easiest option might be to use the full code block syntax for these > situations, rather than the inline syntax, on the basis that your text is > less likely to include triple backticks. > > The other option is to disable the single back tick parse rule, and then > use explicit <code> tags to mark your code runs. For example: > > \rules except codeinline > Some text and <code>a code block including `back ticks`</code> > > The rules pragma needs to be on the first line of the tiddler. > > Does that help? > > Best wishes > > Jeremy > > > > > On Sun, Oct 27, 2013 at 12:32 PM, ramon <[email protected] <javascript:>>wrote: > >> Hi, >> >> Random user dropping in with a question. >> >> I read that for code I can either use backticks for in line examples or >> three back ticks for a code block. >> >> However, what's supposed to happen if the code string contains backticks? >> >> e.g. A="`echo | tr '\012' '\001' `" >> >> At the moment I'm getting bits of this showing as code and bits not, both >> as an in line example and in a code block. >> >> Is there a way to make it all show as code? >> >> -ramon. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "TiddlyWikiDev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/tiddlywikidev. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Jeremy Ruston > mailto:[email protected] <javascript:> > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/groups/opt_out.
