If you try to verify this last example you'll face a delicate situation: Leon runs indeterminately until it is either killed or times out. But why does this happen? The proposition doesn't seems more complicated than appendContent. Perhaps even more surprisingly, Leon is able to verify the following:
In https://github.com/epfl-lara/leon/blob/master/src/sphinx/neon.rst
However, it actually compiles https://leon.epfl.ch#link/5cd42b18a4baeb936e2bd7ec996b90ab-1