From 8a3623bb1bd6e3bb15b6b1675e23fc811cdecff2 Mon Sep 17 00:00:00 2001 From: Chen Rotem Levy Date: Wed, 30 Oct 2019 10:30:46 +0200 Subject: [PATCH] Update escapes.rst `\\'` is rendered as `'` and `\\"` is rendered as `\` The ```verbatim``` feature of reStructuredText *should* be rendered correctly in both github and readthedocs --- source/docs/str/escapes.rst | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/source/docs/str/escapes.rst b/source/docs/str/escapes.rst index e339fb2..3822271 100644 --- a/source/docs/str/escapes.rst +++ b/source/docs/str/escapes.rst @@ -4,37 +4,37 @@ Escape Characters The recognized escape sequences are: -\\newline +``\newline`` Ignored -\\ +``\`` Backslash (\\) -\\' +``\'`` Single quote (') -\\" +``\"`` Double quote (") -\\a +``\a`` ASCII Bell (BEL) -\\b +``\b`` ASCII Backspace (BS) -\\f +``\f`` ASCII Formfeed (FF) -\\n +``\n`` ASCII Linefeed (LF) -\\N{name} +``\N{name}`` Character named NAME in the Unicode database (Unicode only) -\\r +``\r`` ASCII Carriage Return (CR) -\\t +``\t`` ASCII Horizontal Tab (TAB) -\\uxxxx +``\uxxxx`` Character with 16-bit hex value XXXX (Unicode only) (1) -\\Uxxxxxxxx +``\Uxxxxxxxx`` Character with 32-bit hex value XXXXXXXX (Unicode only) (2) -\\v +``\v`` ASCII Vertical Tab (VT) -\\ooo +``\ooo`` Character with octal value OOO (3,5) -\\xhh +``\xhh`` Character with hex value HH (4,5) Notes