<nowiki> doesn't work, how to ignore syntax?

246 views
Skip to first unread message

Shay Shaked

unread,
Feb 27, 2016, 9:48:24 AM2/27/16
to tiddl...@googlegroups.com
I don't know what is it in this piece of text I copy-pasted, but I can't close the quote block. I tried to tell TW to ignore any formatting in this text block, but all my attempts failed. Here's an image: 

As you can see, the block-quote ignores the closure indicator (or whatever you want to call it) and happily continues on its marry way. How to stop it? Hmm? 

Eric Shulman

unread,
Feb 27, 2016, 11:58:04 AM2/27/16
to TiddlyWiki


On Saturday, February 27, 2016 at 6:48:24 AM UTC-8, Shay Shaked wrote:
I don't know what is it in this piece of text I copy-pasted, but I can't close the quote block. I tried to tell TW to ignore any formatting in this text block, but all my attempts failed. Here's an image: 

Use "<<<" to start *and end* the blockquote (not ">>>")

This is before the blockquote

<<<
<nowiki>
this is blockquote text
note the SAME sequence
is used to start and end the blockquote.
</nowiki>
<<<
This is after the blockquote

Note that in TWClassic, the blank line before the <<< is will be displayed as literal text (an actual blank line)... you can safely omit the blank line if you don't want the whitespace; however, in TW5, the blank line preceding the "<<<" is needed so the blockquote syntax won't be treated as "inline mode" content rather than being recognized as the start of "block mode" content.  The blank line is not actually displayed.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

Shay Shaked

unread,
Feb 27, 2016, 1:26:29 PM2/27/16
to TiddlyWiki
Eric, still doesn't work: 

Shay Shaked

unread,
Feb 27, 2016, 1:27:54 PM2/27/16
to TiddlyWiki

Eric Shulman

unread,
Feb 27, 2016, 1:38:30 PM2/27/16
to TiddlyWiki
On Saturday, February 27, 2016 at 10:26:29 AM UTC-8, Shay Shaked wrote:
Eric, still doesn't work: 


Try adding a newline after the closing </nowiki>.  If that doesn't help, try progressively removing bits of your content to see if any of it is interferring in some strange way.  I'd try it myself, but you only posted snapshots of the content, so I can't copy/paste it into a live TW to experiment.

-e

Shay Shaked

unread,
Feb 28, 2016, 10:03:12 PM2/28/16
to TiddlyWiki
Eric, 

<nowiki> doesn't work in TW5. I tried it on other, simpler line of text. No affect. I am then left wondering how to ignore syntax in TW5?

Scott Simmons (Secret-HQ)

unread,
Feb 28, 2016, 10:19:20 PM2/28/16
to TiddlyWiki
Hi, Shay —

The only trick I know of is this one:

<$text text="""<$macrocall name="something" />''This'' is my //apparently// __wikified__text.""" />

You could write a macro that would make it a little easier, like so:

\define nowiki(text)
<$text text="""$text$""" />
\end

... so that you could write this in tiddlers:

<<nowiki """<$macrocall name="something" />''This'' is my //apparently// __wikified__text.""">>


BJ

unread,
Feb 29, 2016, 10:36:30 AM2/29/16
to TiddlyWiki
you could put the text you want  'plain' into a separate tiddler (called eg 'norules') and at the top of that tiddler have the rules pragma:

/rules only

then in your other tiddler can use

<<<
{{norules}}
<<<

all the best

BJ

Jeremy Ruston

unread,
Feb 29, 2016, 12:09:01 PM2/29/16
to tiddl...@googlegroups.com
Hi Shay

As you can see, the block-quote ignores the closure indicator (or whatever you want to call it) and happily continues on its marry way. How to stop it? Hmm? 

The other problem is that the syntax for closing a blockquote is to repeat <<<, and not to use >>> as you have in your example.


Best wishes

Jeremy.


Scott Simmons (Secret-HQ)

unread,
Mar 1, 2016, 1:17:59 AM3/1/16
to TiddlyWiki
Good idea, BJ!

You could also leave off the pragma and just set the tiddler-type to text/plain.  That too would allow you to transclude it elsewhere without wikification.
Reply all
Reply to author
Forward
0 new messages