and a new #nimibook 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: https://github.com/pietroppeter/nimibook/releases/tag/v0.3.1 sometime a powerful way to contribute is just using a library. it does indeed provide extra motivation! #nimlang
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>")
```
#nim #nimlang #nimibook
https://github.com/pietroppeter/nimibook/pull/75/commits/480d23b792c87bdb4cec9b4975becf8a33ff37d2#diff-61d20432180f5dad2da497d3960543daeee6008c0c9d8d4de07d886409ebdd4aR34
FINALLY put the last touches on a long lived PR for #nimibook (#nim, #nimib): https://github.com/pietroppeter/nimibook/pull/56
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.