The curly braces also have the side effect of treating anything inside
the brace as non wiki text, so you will find that the text of the box
is <<tiddler "abc.txt">> rather than the text of the file abc.txt
You can however alter the StyleSheet to mimic the styling.
Try putting the following in your StyleSheet instead:
.yellowBox {
border: 1px solid #FE8;
background: #FFC;
padding: 0.5em;
margin-left: 0.5em;
font-size: 1.2em;
line-height: 1.4em;
overflow: auto;
display: block;
font-family: monospace;
white-space: pre;
margin: 1em 0px;
}
On Mar 8, 4:25 pm, Marcus Hibell <[email protected]> wrote:
> This works, thanks...but not quite as I wished.
> I understand now that I can amend/assign a property in this way...so
> what I need to know now, is what is the term used for when you enclose
> some text with {{{ }}}.
> Is this a block quote?
> Where do I find this in the sytlesheetlayout so i can copy it and set
> the yellowbox to be the same (then I think this will work perfectly)
>
> On Mar 8, 3:06 pm, rakugo <[email protected]> wrote:
>
>
>
>
>
>
>
> > you could try the following:
> > {{yellowBox{
> > <<tiddler "abc.txt">>
>
> > }}}
>
> > and adding this to your StyleSheet tiddler:
> > .yellowBox {
> > background-color: yellow;
>
> > }
>
> > Jon
>
> > On Mar 8, 1:58 pm, Marcus Hibell <[email protected]> wrote:
>
> > > I can read in an external text file using the ExternalTiddler plugin.
>
> > > However I would like the text that is read in to be formatted, eg put
> > > into a nice yellow box, as if I had typed {{{ and }}} around the text.
> > > If I try this all I get is the actual wiki code in a yellow box eg
> > > <<tiddler "abc.txt">>
>
> > > Is there a way to get this text in a box rather than the code?
--
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.