Converted to markdown

This commit is contained in:
dom96 2013-01-25 13:18:55 -08:00
parent 83430621fe
commit 2e5cadc830
1 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
* Use "nimrod check myfile.nim" to check your program for errors, without code generation. This makes the process quicker.
h2. Using reserved words as identifiers
## Using reserved words as identifiers
You can use the slanted quote string syntax if you need to use a reserved word as an identifier: <code>var `type`: int</code>
You can use the slanted quote string syntax if you need to use a reserved word as an identifier: ``var `type`: int``
h2. Tricks with conditional compilation
## Tricks with conditional compilation
```nimrod
const someFeature = True
@ -15,6 +15,6 @@ else:
const someSubFeature = false
```
h2. How do I echo in a {.noSideEffects.} proc?
## How do I echo in a ``{.noSideEffects.}`` proc?
You can use ``debugEcho`` for this.