Improve font of some code in API documentation [ci skip]

* Add `<tt>` tags to improve font of some code in API documentation
* Does not contain wording changes