Hello World!
Table of Contents
Typos preserved from the original source
But note that it's not generated by Nim anymore.
This is the first post of my blog!
How it works?
This blog is generated directly from Nim code, thanks for [Nimib {externalIcon}](https://github.com/pietroppeter/nimib)!
You can see the source code at thisago/blog ↗
# We can run code like in a Python notebook! var food = "apple" echo "John ate " & food
John ate apple
Post name
The post name comes from filename.
The module incl/postName.nim ↗
generates the post title from filename:
from incl/postName import toPostName echo "myFirstPost".toPostName echo "myNewPost-partOne".toPostName
My first post My new post - Part one
Generation
The file genpages.nim ↗
compile and runs all posts and put then in `public/` dir.
Outro
That's it! Thanks for reading!