fix syntax highlighting in quickstart

This commit is contained in:
Jacob Mason 2010-08-14 14:48:27 -05:00
parent ac9c7d71dc
commit ace0e37e03

View File

@ -143,8 +143,7 @@ will then add this data to the COMMENT_OPTIONS that are used in the template.
need to prefix the url route with that directory, and give the `docroot` need to prefix the url route with that directory, and give the `docroot`
keyword argument when creating the web support object:: keyword argument when creating the web support object::
support = WebSupport(... support = WebSupport(..., docroot='docs')
docroot='docs')
@app.route('/docs/<path:docname>') @app.route('/docs/<path:docname>')
@ -259,10 +258,9 @@ is added but not displayed, you can pass callable to the
object:: object::
def moderation_callback(comment): def moderation_callback(comment):
Do something... """Do something..."""
support = WebSupport(... support = WebSupport(..., moderation_callback=moderation_callback)
moderation_callback=moderation_callback)
The moderation callback must take one argument, which will be the same The moderation callback must take one argument, which will be the same
comment dict that is returned by add_comment. comment dict that is returned by add_comment.