Skip to content

Commit af54e4a

Browse files
committed
doc(readme): fix karun ex. rendered in single line
1 parent 2536062 commit af54e4a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

readme.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,12 @@ here. ``tdiv`` produces a ``<div>`` virtual DOM node.
7272
As you can see, karax comes with its own ``buildHtml`` DSL for convenient
7373
construction of (virtual) DOM trees (of type ``VNode``). Karax provides
7474
a tiny build tool called ``karun`` that generates the HTML boilerplate code that
75-
embeds and invokes the generated JavaScript code::
75+
embeds and invokes the generated JavaScript code:
7676

77-
``nim c karax/tools/karun``
78-
``karax/tools/karun -r helloworld.nim``
77+
```shell
78+
nim c karax/tools/karun
79+
karax/tools/karun -r helloworld.nim
80+
```
7981

8082
Via ``-d:debugKaraxDsl`` we can have a look at the produced Nim code by
8183
``buildHtml``:

0 commit comments

Comments
 (0)