## Not signed in

Want to take part in these discussions? Sign in if you have an account, or apply for one below

## Site Tag Cloud

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

• CommentRowNumber1.
• CommentAuthorJonAwbrey
• CommentTimeOct 19th 2009
• (edited Oct 19th 2009)

I have a bunch of ASCII graphics that I'm gradually converting to JPEGs and maybe eventually SVGs, but in the meantime … my browser shows an overly dark grey background for preformatted text.

Compare the Contrasts:

I think it would be optimal with no shading at all, just plain white backgrounds.

Thanks,

Jon

• CommentRowNumber2.
• CommentAuthorTobyBartels
• CommentTimeOct 20th 2009

Yeah, that's a little annoying, although it least it reminds you of what needs to be made into a diagram (^_^).

I notice that MediaWiki also has a dark background, just not quite as dark. Perhaps lightening it would help? Possibly I can find that in the CSS.

• CommentRowNumber3.
• CommentAuthorAndrew Stacey
• CommentTimeOct 20th 2009

You can always add your own formatting to blocks using the extended Markdown syntax. It's a little tricky to demonstrate here as the local parser might get confused. If this doesn't work, look at the bottom of the Sandbox for how to do it.

{: style="background-color: #ffffff"}


immediately after your code block without any indentation. You could also make the font the same size as the surrounding text if you like with

{: style="background-color: #ffffff; font-size=100%;"}

• CommentRowNumber4.
• CommentAuthorJonAwbrey
• CommentTimeOct 20th 2009
• (edited Oct 20th 2009)

Thanks, Andrew, that will do nicely until I can get back to the drawing board.

By the way, where would all those templates be documented?

Jon

• CommentRowNumber5.
• CommentAuthorAndrew Stacey
• CommentTimeOct 20th 2009

When you edit a page then there is a long list of "stuff" over on the right-hand side. Got it? Try your other right, then. Okay, in amongst that lot are a load of links. One of those explains the syntax for this "metadata". There are some examples scattered throughout the lab where people have applied their own styles to stuff. I did a bit on the Froelicher space page. For example, if you have a lot of stuff that you want to be the same style then you can define a new class that you can use a bit like the query or standout classes.