summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authornarimiran <narimiran@disroot.org>2019-02-04 14:31:52 +0100
committernarimiran <narimiran@disroot.org>2019-02-04 14:31:52 +0100
commit10219584eed0733883800dff9feeffef40022a0a (patch)
treedd8380e35194982f825dbf84a56e47f1a34ebb25 /doc
parent8cb80238c4eedc3dbabdadd6a996bb905de8309d (diff)
downloadNim-10219584eed0733883800dff9feeffef40022a0a.tar.gz
tut3.rst formatting fix
Diffstat (limited to 'doc')
-rw-r--r--doc/tut3.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/tut3.rst b/doc/tut3.rst
index 5590db8fe..720b4fb37 100644
--- a/doc/tut3.rst
+++ b/doc/tut3.rst
@@ -19,16 +19,16 @@ a Nim syntax tree into a different tree.
 
 Examples of things that can be implemented in macros:
 
- * An assert macro that prints both sides of a comparison operator, if
-the assertion fails. ``myAssert(a == b)`` is converted to
-``if a != b: quit($a " != " $b)``
+* An assert macro that prints both sides of a comparison operator, if
+  the assertion fails. ``myAssert(a == b)`` is converted to
+  ``if a != b: quit($a " != " $b)``
 
- * A debug macro that prints the value and the name of the symbol.
-``myDebugEcho(a)`` is converted to ``echo "a: ", a``
+* A debug macro that prints the value and the name of the symbol.
+  ``myDebugEcho(a)`` is converted to ``echo "a: ", a``
 
- * Symbolic differentiation of an expression.
-``diff(a*pow(x,3) + b*pow(x,2) + c*x + d, x)``  is converted to
-``3*a*pow(x,2) + 2*a*x + c``
+* Symbolic differentiation of an expression.
+  ``diff(a*pow(x,3) + b*pow(x,2) + c*x + d, x)`` is converted to
+  ``3*a*pow(x,2) + 2*a*x + c``
 
 
 Macro Arguments