summary refs log tree commit diff stats
path: root/lib/pure/htmlgen.nim
diff options
context:
space:
mode:
authorAndrey Makarov <ph.makarov@gmail.com>2023-08-14 22:27:36 -0600
committerGitHub <noreply@github.com>2023-08-15 06:27:36 +0200
commita660c17d309e2b077c610fd8c8c697944cff676d (patch)
tree054ef224e4088c4a376cad7c7ca508086e358024 /lib/pure/htmlgen.nim
parent1927ae72d093d5e13bef6fd3fdf4700aa072f6bc (diff)
downloadNim-a660c17d309e2b077c610fd8c8c697944cff676d.tar.gz
Markdown code blocks migration part 8 (#22478)
Diffstat (limited to 'lib/pure/htmlgen.nim')
-rw-r--r--lib/pure/htmlgen.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pure/htmlgen.nim b/lib/pure/htmlgen.nim
index bf31c0239..be9e1fe90 100644
--- a/lib/pure/htmlgen.nim
+++ b/lib/pure/htmlgen.nim
@@ -30,9 +30,10 @@
 ## Examples
 ## ========
 ##
-## .. code-block:: Nim
+##   ```Nim
 ##   var nim = "Nim"
 ##   echo h1(a(href="https://nim-lang.org", nim))
+##   ```
 ##
 ## Writes the string:
 ##