docs/variant: fix incorrect use of code-block directive