Attachment 'color-test.html'
DownloadSyntax Coloring Example
Here is a code area with example code. We should use this file to compare different color schemes. A code area does not float in space, it is part of page, and should be evaluated with text around it, so I added few paragraphs.
Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more.
""" Example colorized code Note that I don't use different background and border for the code area. I'm looking for the look and feel of a book. I prefer more white space instead of colored backgrounds and borders. If you look at the source, you will see that is has a very fine grain classes, so if you want your floats to look different from your integers you can use a customized style sheet to do that. Note that I use single font weight, I think its its looks better. The code should be easy to read, just like any text. I guess some people would like to define a rule like: .name.keyword {font-weight: bold} Maybe some of our colorizers, probably the more esoteric like (Perl, C++, Java) will use only the main classes. """ import sys from MoinMoin import wikiutil # Bellow is some varibles and literals INT_DEFAULT = 25 INT_MAX = sys.maxint FLOAT = 0.75 STRING = 'a string' class CSSError(Exception): """ class docstring """ pass def test(candidate, **kw): """ function docstring """ # Is __dict__ a "name builtin" or a "variable" (default color)? for name, obj in candidate.__dict__.items(): print name, repr(obj) if __name__ == '__main__': test()
Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more. Text and some more text, and then some more text, and even some more.
Nir SofferAttached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.