From eae6440605b0e7e9a1f221ec0ac1b68b2f2dcd97 Mon Sep 17 00:00:00 2001 From: Tom Busby Date: Wed, 19 Sep 2018 23:42:35 +0200 Subject: [PATCH] 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. --- docs/quickstart.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index f863c8e1..5a182f5d 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -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 ````````````