Hi Stephen I like the double back tick idea.
That Perl quoting technique might be useful for a typed block syntax. I've also thought of using it in a new .tids file format that allows multiple tiddlers to be defined in a single file. Best wishes Jeremy On Sun, Oct 27, 2013 at 3:42 PM, Stephan Hradek <[email protected]>wrote: > Hi Jeremy! > > Again a situation where some escaping mechanism seems to be required. > > Shouldn't we think about a real general way of escaping and thus making > characters literal? > > OTOH: For this situation, what about this rule? > > ` - Standard inline code as you implemented it > ``` - Standard block as you implemented it > `` - New inline code, like ` but ending at the next `` So simple ` can be > used inside. > > Just to drop some unsorted ideas: I pretty much like the Perl way of > quoting. In Perl ANY character can be used as a single or double quote like > this > qX...X - single quote from X to next X > qqX...X - double quote from X to next X > > X could be any character or a set of brackets: (), <>, [], {}. > > So qAtestA and q(test) would both quote "test" in single quotes. > > Maybe a similar approach could be adopted for TW5? > > -- Jeremy Ruston mailto:[email protected] -- 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.
