Attributes (including doc comments) are supported as well.
While reading it, I wondered if doc-tests are also supported. I tried it myself and it worked quite well. Is this an intended feature? If so, I'd like to create a PR to include that in the docs (maybe also with an example).
Yes, this is intended. Supporting doc comments kind of implies supporting doc tests. But I guess it doesn't hurt to mention it explicitly, so feel free to open a PR!
The documentations introductory section about the basic syntax says:
While reading it, I wondered if doc-tests are also supported. I tried it myself and it worked quite well. Is this an intended feature? If so, I'd like to create a PR to include that in the docs (maybe also with an example).
Cheers and thanks for your work!