Pietro Peterlongo · @pietroppeter
78 followers · 124 posts · Server fosstodon.org

and a new release is out, 0.3.1 (work by me and @hugogranstrom), motivated by the work Phil (not on Mastodon?) is doing to provide @CanLehmann owlkettle with nimibook-powered docs: github.com/pietroppeter/nimibo sometime a powerful way to contribute is just using a library. it does indeed provide extra motivation!

#nimibook #nimlang

Last updated 3 years ago

Pietro Peterlongo · @pietroppeter
78 followers · 123 posts · Server fosstodon.org

sometimes in a PR the things you are proud of is not the fix itself but the (sort of) clever way in you can write a low effort test:
```nim
check renderedToc.count("<ol") == renderedToc.count("</ol>")
```

github.com/pietroppeter/nimibo

#nim #nimlang #nimibook

Last updated 3 years ago

Pietro Peterlongo · @pietroppeter
75 followers · 115 posts · Server fosstodon.org

FINALLY put the last touches on a long lived PR for (, ): github.com/pietroppeter/nimibo

Last year (April!) I did big changes in how nimibook worked but these changes were never documented properly (and I never officially released the 0.3). Now (still have to merge...) all changes are properly documented in the changelog and nimibook documentation reflect the current state. I also took the opportunity to make it nim 2.0 compatible and to make some minor changes.

#nimibook #nim #nimib

Last updated 3 years ago