On Sep 20, 2:53 pm, IttayD <[email protected]> wrote:
> Hi,
>
> I'm completely new to TiddlyWiki.

Welcome to TiddlyWiki!

>
> I'd like a way to add text that is wrapped in a red box with a
> "Warning" label. Is there something premade? If not, any pointers?
>

There is a wikitext way to highlight your text[1]. You just need to
wrap the text in @@.
So for example you'd write
@@warning text@@

By default this will highlight the text in yellow. It wraps the text
in a span with a class ''marked'' so you could change the way this
displays (e.g. give it a red background) by adding a css rule to the
StyleSheet shadow tiddler.
For example:
.marked {
background: red;
color: #fff;
}

Alternatively, you could wrap the text and give it a class of your
choosing by using the css class wikitext[2].
For example:
{{cssClass{WarningText}}}

Then the css rule in the StyleSheet could be:
.cssClass {
    border: 1px solid blue;
    background: red;
    color: #fff
}

Hope that helps,

Colm

[1] - http://wikitext.tiddlyspace.com/#%5B%5BBasic%20formatting%5D%5D
[2] - http://wikitext.tiddlyspace.com/#%5B%5BCSS%20formatting%5D%5D

-- 
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