Fixed some markup in docs/ref/templates/api.txt