Code Voice
Render a span of text using the font for code voice.
Works with:
✓ Playgrounds
✓ Symbol documentation
Syntax
Format a span of text as code by using a backquote (`) before the first character of the span and after the last character of the span. The first and last characters cannot be spaces.
`string`
Playground Example
//: Show Swift elements such as `for` and `let` as monspaced code font
Quick Help Example
/**An example of using a *code voice*Show Swift elements such as `for` and `let` as monspaced code font*/
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2017-06-05
