Make script output into comments to not break syntax highlighting

http://flask.pocoo.org/docs/1.0/quickstart/#url-building

In the URL Building section of the quickstart, the script output is shown right after the code.

This breaks syntax highlighting for the whole code-block. To fix this, I have made the output into comments.
This commit is contained in:
Tom Busby 2018-09-19 23:42:35 +02:00 committed by GitHub
parent c92001d2fb
commit eae6440605
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -301,10 +301,10 @@ Python shell. See :ref:`context-locals`. ::
print(url_for('login', next='/'))
print(url_for('profile', username='John Doe'))
/
/login
/login?next=/
/user/John%20Doe
# /
# /login
# /login?next=/
# /user/John%20Doe
HTTP Methods
````````````