Update readme.rst (#77)
This commit is contained in:
parent
1ccd8b1c16
commit
b16112613a
1 changed files with 2 additions and 1 deletions
|
|
@ -118,6 +118,7 @@ that writes "Hello simulated universe" on a button click:
|
||||||
.. code-block:: nim
|
.. code-block:: nim
|
||||||
|
|
||||||
include karax / prelude
|
include karax / prelude
|
||||||
|
# alternatively: import karax / [kbase, vdom, kdom, vstyles, karax, karaxdsl, jdict, jstrutils, jjson]
|
||||||
|
|
||||||
var lines: seq[kstring] = @[]
|
var lines: seq[kstring] = @[]
|
||||||
|
|
||||||
|
|
@ -147,7 +148,7 @@ following syntax is also supported:
|
||||||
.. code-block:: nim
|
.. code-block:: nim
|
||||||
|
|
||||||
include karax / prelude
|
include karax / prelude
|
||||||
from future import `=>`
|
from sugar import `=>`
|
||||||
|
|
||||||
var lines: seq[kstring] = @[]
|
var lines: seq[kstring] = @[]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue