summary refs log tree commit diff stats
path: root/doc/subexes.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/subexes.txt')
-rw-r--r--doc/subexes.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/subexes.txt b/doc/subexes.txt
index 62ddd1ec8..1bfd60213 100644
--- a/doc/subexes.txt
+++ b/doc/subexes.txt
@@ -47,8 +47,7 @@ Notation                meaning
 Examples
 ========
 
-.. code-block:: nim
-
+  ```nim
   subex"$1($', '{2..})" % ["f", "a", "b", "c"] == "f(a, b, c)"
 
   subex"$1 $[files|file|files]{1} copied" % ["1"] == "1 file copied"
@@ -57,5 +56,5 @@ Examples
 
   subex("type\n  TEnum = enum\n    $', '40c'\n    '{..}") % [
     "fieldNameA", "fieldNameB", "fieldNameC", "fieldNameD"]
-
+  ```