It should look similarly to how it looks in Kotlin documentation:

This way such names are more visible in the text. Now it takes more eye efforts to understand that it's a code name. Fixed size font is not really distinguishable, especially when code names and patter names come in one sentence:

A light grey background should address this issue.