Hi TK

To me it seems that you almost went all the way yourself -
replace <code> with
{{code{
This should format as programming code.
}}}

and this in the stylesheet tiddler:
.code {
font-family: "Courier New", Courier, monospace;
font-size: 24pt;
}

(remember the sentence)

If you use FireFox you should be able to put this in StyleSheet:
div[tags~="mono"].tiddler .viewer  {
  font-family: 'Courier New', Courier;
  font-size:16px;
  line-height:20px;
}

And every tiddler you tag with mono will give you monotxt..

Regards Måns Mårtensson

On 12 Jan., 22:33, TK <[email protected]> wrote:
> G'day
>
> How can I create a new style?
>
> I want to paste output from a unix shell session or oracle sql session
> into my TW and format it with a monospaced font, I also want to create
> links within the output.  Presently I can do this with:
>
> {{{
> session output
>
> }}}
>
> However, when I use this technique, I cannot create a hyperlink.
>
> I tried the following:
>
> I placed the following within my stylesheet
>
> code {
> font-family: "Courier New", Courier, monospace;
> font-size: 24pt;
>
> }
>
> Then i placed the following in a tiddler:
>
> <code>
> This should format as programming code.
> </code>
>
> ... and it did not work.
>
> So back to my original question; How can I create a new style (if
> style is the right word) which i can use to format text as monospaced
> while still being able to create a hyperlink from within that text?
>
> Thanks
> TK
-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.


Reply via email to