comparison MoinMoin/config/multiconfig.py @ 3095:cde8093bbb01

fixed the quickhelp shown when editing RST markup (port from 1.6)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 23 Feb 2008 01:42:26 +0100
parents e3846a8e4bd5
children a94959a2aae7
comparison
equal deleted inserted replaced
3094:92e5cf67842f 3095:cde8093bbb01
271 271
272 edit_bar = ['Edit', 'Comments', 'Discussion', 'Info', 'Subscribe', 'Quicklink', 'Attachments', 'ActionsMenu'] 272 edit_bar = ['Edit', 'Comments', 'Discussion', 'Info', 'Subscribe', 'Quicklink', 'Attachments', 'ActionsMenu']
273 editor_default = 'text' # which editor is called when nothing is specified 273 editor_default = 'text' # which editor is called when nothing is specified
274 editor_ui = 'freechoice' # which editor links are shown on user interface 274 editor_ui = 'freechoice' # which editor links are shown on user interface
275 editor_force = False 275 editor_force = False
276 editor_quickhelp = {# editor markup hints quickhelp 276 editor_quickhelp = {
277 # editor markup hints quickhelp
278 # MUST be in wiki markup, even if the help is not for the wiki parser!
277 'wiki': _("""\ 279 'wiki': _("""\
278 Emphasis:: <<Verbatim('')>>''italics''<<Verbatim('')>>; <<Verbatim(''')>>'''bold'''<<Verbatim(''')>>; <<Verbatim(''''')>>'''''bold italics'''''<<Verbatim(''''')>>; <<Verbatim('')>>''mixed ''<<Verbatim(''')>>'''''bold'''<<Verbatim(''')>> and italics''<<Verbatim('')>>; <<Verbatim(----)>> horizontal rule. 280 Emphasis:: <<Verbatim('')>>''italics''<<Verbatim('')>>; <<Verbatim(''')>>'''bold'''<<Verbatim(''')>>; <<Verbatim(''''')>>'''''bold italics'''''<<Verbatim(''''')>>; <<Verbatim('')>>''mixed ''<<Verbatim(''')>>'''''bold'''<<Verbatim(''')>> and italics''<<Verbatim('')>>; <<Verbatim(----)>> horizontal rule.
279 Headings:: <<Verbatim(=)>> Title 1 <<Verbatim(=)>>; <<Verbatim(==)>> Title 2 <<Verbatim(==)>>; <<Verbatim(===)>> Title 3 <<Verbatim(===)>>; <<Verbatim(====)>> Title 4 <<Verbatim(====)>>; <<Verbatim(=====)>> Title 5 <<Verbatim(=====)>>. 281 Headings:: <<Verbatim(=)>> Title 1 <<Verbatim(=)>>; <<Verbatim(==)>> Title 2 <<Verbatim(==)>>; <<Verbatim(===)>> Title 3 <<Verbatim(===)>>; <<Verbatim(====)>> Title 4 <<Verbatim(====)>>; <<Verbatim(=====)>> Title 5 <<Verbatim(=====)>>.
280 Lists:: space and one of: * bullets; 1., a., A., i., I. numbered items; 1.#n start numbering at n; space alone indents. 282 Lists:: space and one of: * bullets; 1., a., A., i., I. numbered items; 1.#n start numbering at n; space alone indents.
281 Links:: <<Verbatim(JoinCapitalizedWords)>>; <<Verbatim([[target|linktext]])>>. 283 Links:: <<Verbatim(JoinCapitalizedWords)>>; <<Verbatim([[target|linktext]])>>.
282 Tables:: || cell text |||| cell text spanning 2 columns ||; no trailing white space allowed after tables or titles. 284 Tables:: || cell text |||| cell text spanning 2 columns ||; no trailing white space allowed after tables or titles.
283 285
284 (!) For more help, see HelpOnEditing or SyntaxReference. 286 (!) For more help, see HelpOnEditing or SyntaxReference.
285 """), 287 """),
286 'rst': _("""\ 288 'rst': _("""\
287 Emphasis: <i>*italic*</i> <b>**bold**</b> ``monospace``<br/> 289 {{{
288 <br/><pre> 290 Emphasis: *italic* **bold** ``monospace``
291
289 Headings: Heading 1 Heading 2 Heading 3 292 Headings: Heading 1 Heading 2 Heading 3
290 ========= --------- ~~~~~~~~~ 293 ========= --------- ~~~~~~~~~
291 294
292 Horizontal rule: ---- 295 Horizontal rule: ----
293 Links: TrailingUnderscore_ `multi word with backticks`_ external_ 296
294 297 Links: TrailingUnderscore_ `multi word with backticks`_ external_
295 .. _external: http://external-site.net/foo/ 298
299 .. _external: http://external-site.example.org/foo/
296 300
297 Lists: * bullets; 1., a. numbered items. 301 Lists: * bullets; 1., a. numbered items.
298 </pre> 302 }}}
299 <br/> 303 (!) For more help, see the
300 (!) For more help, see the 304 [[http://docutils.sourceforge.net/docs/user/rst/quickref.html|reStructuredText Quick Reference]].
301 <a href="http://docutils.sourceforge.net/docs/user/rst/quickref.html">
302 reStructuredText Quick Reference
303 </a>.
304 """), 305 """),
305 } 306 }
306 edit_locking = 'warn 10' # None, 'warn <timeout mins>', 'lock <timeout mins>' 307 edit_locking = 'warn 10' # None, 'warn <timeout mins>', 'lock <timeout mins>'
307 edit_ticketing = True 308 edit_ticketing = True
308 edit_rows = 20 309 edit_rows = 20