[tw] Re: Mark as 'nowiki in tags?

2009-12-30 Thread Eric Shulman
I was wondering if a tag like 'nowiki' could be assigned when you want none of a tiddler's content to be wikified without needing to embed codes in the text. 1) Install this plugin: http://www.TiddlyTools.com/#TaggedTemplateTweak 2) Make copy of your current ViewTemplate, and name it

[tw] Re: Mark as 'nowiki in tags?

2009-12-30 Thread AlanBCohen
Thanks Eric, I'll give this a try. Alan -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For

[tw] Re: Mark as 'nowiki in tags?

2009-12-30 Thread Mark S.
All the text will wrap. For SQL, need something that prevents wikifying, but leaves in the line breaks. On Dec 30, 8:30 am, AlanBCohen alanbco...@gmail.com wrote: Thanks Eric, I'll give this a try. Alan -- You received this message because you are subscribed to the Google Groups TiddlyWiki

[tw] Re: Mark as 'nowiki in tags?

2009-12-30 Thread Mark S.
To preserve line endings, put this in a tiddler marked as systemConfig : merge(config.macros.view.views, { sql: function(value,place,params,wikifier,paramString,tiddler) { value = value.replace(/\n/gm,br) ; highlightify(value,place,highlightHack,tiddler); }, } ) ; Make sure

[tw] Re: Mark as 'nowiki in tags?

2009-12-30 Thread Eric Shulman
On Dec 30, 8:37 am, Mark S. throa...@yahoo.com wrote: All the text will wrap. For SQL, need something that prevents wikifying, but leaves in the line breaks. You can use CSS in the template to turn off word wrapping for the displayed text output. div class='viewer' macro='view text'