CARVIEW |
Text Formatting Rules
Leave blank lines between paragraphs. Use [[BR]] to insert linebreaks into paragraphs.
You can render text in italics or bold. To write italics, enclose the text in double single quotes. To write bold, enclose the text in triple single quotes. Underlined text needs a double underscore on each side. You get superscripted text by enclosing it into caret characters, and subscripts have to be embedded into double commas.
To insert program source in a monospace font without reformatting, use three curly braces:
10 PRINT "Hello, world!" 20 GOTO 10
Note that within code sections, both inline and display ones, any wiki markup is ignored. An alternative and shorter syntax for inlined code is to use backtick characters (note that this can be disabled by the site's configuration, but is enabled by default).
For more information on the possible markup, see HelpOnEditing.
Example
__Mixing__ ''italics'' and '''bold''': * '''''Mix''' at the beginning'' * '''''Mix'' at the beginning''' * '''Mix at the ''end''''' * ''Mix at the '''end''''' You might recall ''a''^2^ `+` ''b''^2^ `=` ''c''^2^ from your math lessons, unless your head is filled with H,,2,,O. An { { {inline code sequence} } } has the start and end markers on the same line. Or you use `backticks`. A code display has them on different lines: { { { '''No''' markup here! } } }
In the above example, we "escaped" the markers for source code sequences by inserting spaces between the curly braces.
Display
Mixing italics and bold:
Mix at the beginning
Mix at the beginning
Mix at the end
Mix at the end
You might recall a2 + b2 = c2 from your math lessons, unless your head is filled with H2O.
An inline code sequence has the start and end markers on the same line. Or you use backticks.
A code display has them on different lines:
'''No''' markup here!
Colorized code displays
There are several ways to get colorized formatting of code1:
- start a code display with a line only containing "#!PARSERNAME"
- embed a file attachment bearing a ".py" extension via "inline:"
- start a page with a format processing instruction ("#format PARSERNAME")
Example:
1 from colors import palette
2 palette.colorize('python')
1 There is currently only support for limited number of languages, see HelpOnParsers.
AssertionError
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestFastCGI object>)
- 1152 # Visit pagename
- 1153 self.page = Page(self, pagename)
- 1154 self.page.send_page(self, count_hit=1)
- 1155
- 1156 # generate page footer (actions that do not want this footer
- self = <MoinMoin.request.RequestFastCGI object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>
- count_hit undefined
/usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, msg='', **keywords={'count_hit': 1})
- 1249 # send the page footer
- 1250 if self.default_formatter:
- 1251 wikiutil.send_footer(request, self.page_name, print_mode=print_mode)
- 1252
- 1253 request.write(doc_trailer)
- global wikiutil = <module 'MoinMoin.wikiutil' from '/usr/lib/python2.4/site-packages/MoinMoin/wikiutil.pyc'>
- wikiutil.send_footer = <function send_footer>
- request = <MoinMoin.request.RequestFastCGI object>
- self = <MoinMoin.Page.Page instance>
- self.page_name = u'HelpOnFormatting'
- print_mode = False
/usr/lib/python2.4/site-packages/MoinMoin/wikiutil.py in send_footer (request=<MoinMoin.request.RequestFastCGI object>, pagename=u'HelpOnFormatting', **keywords={'print_mode': False})
- 1481 request.write(theme.endPage())
- 1482 else:
- 1483 request.write(theme.footer(d, **keywords))
- 1484
- 1485
- request = <MoinMoin.request.RequestFastCGI object>
- request.write = <bound method RequestFastCGI.write of <MoinMoin.request.RequestFastCGI object>>
- theme = <main.plugin.theme.python.Theme instance>
- theme.footer = <bound method Theme.footer of <main.plugin.theme.python.Theme instance>>
- d = {'available_actions': ['use self.request.availableActions(page)'], 'home_page': None, 'i18ntitle': u'Print', 'last_edit_info': {'editor': '', 'time': '2005-01-12 18:46:51'}, 'logo_string': u'PythonInfo Wiki', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page instance>, 'page_find_page': 'FindPage', 'page_front_page': u'FrontPage', ...}
- keywords = {'print_mode': False}
/data/moin/instances/main/data/plugin/theme/python.py in footer (self=<main.plugin.theme.python.Theme instance>, d={'available_actions': ['use self.request.availableActions(page)'], 'home_page': None, 'i18ntitle': u'Print', 'last_edit_info': {'editor': '', 'time': '2005-01-12 18:46:51'}, 'logo_string': u'PythonInfo Wiki', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page instance>, 'page_find_page': 'FindPage', 'page_front_page': u'FrontPage', ...}, **keywords={'print_mode': False})
- 246 # to become class="level-two"
- 247 trail = self.trail(d)
- 248 assert 'id="pagetrail"' in trail
- 249 trail = trail.replace('id="pagetrail"', 'class="level-two"')
- 250 dict = {
- trail = ''
AssertionError
- args = ()
System Details
- Date: Thu, 27 Dec 2007 22:11:20 +0000
- Platform: Linux ximinez.python.org 2.6.18-5-686 #1 SMP Mon Dec 24 16:41:07 UTC 2007 i686
- Python: Python 2.4.4 (/usr/bin/python)
- MoinMoin: Release 1.5.3 (release)