From 0ecd527e2b9e441c169bc66ecbac12d202b9d1f8 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Sun, 22 Oct 2023 01:27:53 +0800 Subject: fix doc. --- doc/docs/doc/README.md | 44 ++++++++++++++++++++++---------------------- doc/docs/zh/doc/README.md | 44 ++++++++++++++++++++++---------------------- 2 files changed, 44 insertions(+), 44 deletions(-) diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md index 6662752..aaeea2d 100755 --- a/doc/docs/doc/README.md +++ b/doc/docs/doc/README.md @@ -416,47 +416,47 @@ Note the evaluation behavior of chained comparisons: ```moonscript v = (x)-> - print x - x + print x + x print v(1) < v(2) <= v(3) --[[ - output: - 2 - 1 - 3 - true + output: + 2 + 1 + 3 + true ]] print v(1) > v(2) <= v(3) --[[ - output: - 2 - 1 - false + output: + 2 + 1 + false ]] ```
 v = (x)->
-   print x
-   x
+	print x
+	x
 
 print v(1) < v(2) <= v(3)
 --[[
-   output:
-   2
-   1
-   3
-true
+	output:
+	2
+	1
+	3
+	true
 ]]
 
 print v(1) > v(2) <= v(3)
 --[[
-   output:
-   2
-   1
-   false
+	output:
+	2
+	1
+	false
 ]]
 
diff --git a/doc/docs/zh/doc/README.md b/doc/docs/zh/doc/README.md index 8a236c1..340498b 100755 --- a/doc/docs/zh/doc/README.md +++ b/doc/docs/zh/doc/README.md @@ -413,47 +413,47 @@ print 1 <= a <= 10 ```moonscript v = (x)-> - print x - x + print x + x print v(1) < v(2) <= v(3) --[[ - 输出: - 2 - 1 - 3 - true + 输出: + 2 + 1 + 3 + true ]] print v(1) > v(2) <= v(3) --[[ - 输出: - 2 - 1 - false + 输出: + 2 + 1 + false ]] ```
 v = (x)->
-   print x
-   x
+	print x
+	x
 
 print v(1) < v(2) <= v(3)
 --[[
-   输出:
-   2
-   1
-   3
-   true
+	输出:
+	2
+	1
+	3
+	true
 ]]
 
 print v(1) > v(2) <= v(3)
 --[[
-   输出:
-   2
-   1
-   false
+	输出:
+	2
+	1
+	false
 ]]
 
-- cgit v1.2.3-55-g6feb