i've released a small update to Nimja,

two procs for the Nimja utils:

`includeRawStatic`

Includes the content of a file literally without any parsing, on compiletime. 
This means it is included into the executable.

`includeStaticAsDataurl` Includes the content of a file on compile time, it is 
converted to a data url. Eg:

> <img src="{{includeStaticAsDataurl(getScriptDir() / "logo.jpg")}}">

is transformed to:

> <img src="data:image/jpeg;charset=utf-8;base64,/9j/4AAQSkZJRg..."/>

these procs help to build an standalone executable, without `staticRead` the 
assets in the Nim executable but conveniently from the templates.

Reply via email to