Markdown code blocks part 4 (#20189)

No logic was added, just 8 more files have been migrated.
This commit is contained in:
Andrey Makarov 2022-08-12 21:33:43 +03:00 • committed by GitHub
commit 713f39083e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 365 additions and 341 deletions

View file

@ -41,10 +41,11 @@ recognize it as Nim source file).
If we use `generateXML` code shown above and call the SCF file `xmlGen.nimf`
In your `main.nim`:
.. code-block:: nim
```nim
include "xmlGen.nimf"
echo generateXML("John Smith","42")
```
Pipe operator
=============
@ -150,7 +151,7 @@ Example::
The filter transforms this into:
.. code-block:: nim
```nim
proc generateHTMLPage(title, currentTab, content: string,
tabs: openArray[string]): string =
result = ""
@ -173,6 +174,7 @@ The filter transforms this into:
" A dollar: $.\n" &
" </div>\n" &
"</body>\n")
```
Each line that does not start with the meta character (ignoring leading