Docs: fix events rendering

Fixes #6