From 8304fd5ecc8b367f5ece477fd0808f1f0c33f7e8 Mon Sep 17 00:00:00 2001 From: ruby0x1 Date: Sun, 4 Apr 2021 14:02:07 -0700 Subject: [PATCH] docs; strings; fix formatting for example --- doc/site/values.markdown | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/site/values.markdown b/doc/site/values.markdown index 389babe7..a50788b0 100644 --- a/doc/site/values.markdown +++ b/doc/site/values.markdown @@ -132,7 +132,7 @@ from any other string, it's just parsed in a different way. When a raw string spans multiple lines, the newline immediately -after the triple quote will be ignored, and any whitespace after +after the triple quote will be ignored, and any spaces or tabs after the last newline (before the closing triple quote) will be ignored too.
@@ -141,9 +141,12 @@ the last newline (before the closing triple quote) will be ignored too.
   """
 
-The value in the string above is ` Hello world`, it contains no newlines. -The newline after `"""` and the whitespace on the closing line are ignored. -Note that the whitespace on the line is preserved. +The value in the string above has no newlines, but the spaces in front +are preserved. The newline after `"""` and the whitespace on the closing line are ignored. + +
+    Hello world
+
A raw string will be parsed exactly as is in the file, unmodified. This means it can contain quotes, invalid syntax, other data formats