{{terminal{
-rw-r--r-- 1 root root 2556 Jan 14 03:09 /tmp/slimserver.log
}}}
Thanks.
you can use """...""" (tripled double-quotes) or <nowiki>...</nowiki>
surrounding the desired content
{{terminal{"""
-rw-r--r-- 1 root root 2556 Jan 14 03:09 /tmp/slimserver.log
"""}}}
should do the trick...
-e
Eric Shulman
TiddlyTools / ELS Design Studios
.viewer pre {
background-color: [[ColorPalette::Background]];
color: [[ColorPalette::Foreground]];
border: none;
}
Cheers
Jeremy
--
Jeremy Ruston
mailto:jer...@osmosoft.com
http://www.tiddlywiki.com
I try to take the RTFM approach whenever I can, but I just can't find
the complete FM on TiddlyWiki anywhere, only bits and tiddlers here and
there :). I'm a newb when it comes to the web, but it looks like
TiddlyWiki is going to change that soon. It's a toy, not unlike Lego!
Right now I'm at the stage where I play with it a lot more than use it.
How to modify TW so that anything inside a {{terminal{...}}} is treated
as nowiki by default?
Thanks for your help.
// ---------------------------------------------------------------------------
// Standard formatters
// ---------------------------------------------------------------------------------
config.formatters = [
..there's two formatters you want to look at, the monospace with css one:
name: "monospacedByLineForCSS",
and the raw text one:
name: "rawText",
You should be able to work it out from there. Once you know what to
do, write it into a plugin that replaces the necessary element in
config.formatters -- and welcome to the world of TiddlyWiki
development!
;Daniel
--
Daniel Baird
http://tiddlyspot.com (free, effortless TiddlyWiki hosting)
http://danielbaird.com (TiddlyW;nks! :: Whiteboard Koala :: Blog ::
Things That Suck)
Any takers? I think there'd be a fair few folk who'd like to have a
special escape for terminal type output -- programming tutorials,
command line references, TiddlyWiki formatting tutorials..
;D
PS Maybe something shell-like would be cool: perhaps $> as a line
format or something.
On 18/01/07, f7o7 <ewi...@gmail.com> wrote:
>
..and that gets rendered like the system responded it.
It's such a good idea i might look at it myself..
;Daniel
On 18/01/07, f7o7 <ewi...@gmail.com> wrote:
>
So if you just write code that modifies the TiddlyWiki system objects,
then put it in a tiddler, it survives upgrades just like your other
tiddlers.
Tempted to write a plugin now? :)
;Daniel
On 18/01/07, f7o7 <ewi...@gmail.com> wrote:
>