TheProjecter / vosao

Automatically exported from code.google.com/p/vosao
0 stars 0 forks source link

add css definition for the pre tag. #442

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use media wiki syntax
2. add a source tag, with some source data (for example in java).

What is the expected output? What do you see instead?
Problem is that all the text is indented by 25 pixels, however the 
content of the source tag is not indented. the source tag is enclosing
all the text in a pre-tag. a definition for the pre tag is missing in the css.
the result looks just ugly (see attached screenshot). 

the lang that is defined in the source tag is translated into the style class.
however, there are no style classes defined for the supported languages. 
for the supported languages in the pre tag there should be at least a different
background color be defined, so the block with the sourcecode is highlighted a 
little bit. 

cheers,
andy

Original issue reported on code.google.com by andreas....@gmail.com on 15 Mar 2011 at 8:26

Attachments: