Documentation Archive

Developer

Markup Formatting Reference

On This Page

Emphasis (Italics)

Render a span of text using the font face for emphasis.

Works with:

  • ✓ Playgrounds

  • ✓ Symbol documentation

Syntax

Add emphasis by using an asterisk (*) or underscore (_) before the first character of the span and after the last character of the span. The first and last characters cannot be spaces. Do not mix asterisks and underscores for the same element.

  • *string*
  • _string_

Playground Example

  1. /*:
  2. This line has a word with *emphasis*.
  3.  This line uses _emphasis for the last six words_.
  4. */
image: ../Art/MFR_emphasis_eg_2x.png

Quick Help Example

  1. /// This line has a word with *emphasis*.
  2. ///
  3. /// This line uses _emphasis for the last six words_.
image: ../Art/MFR_symbol_emphasis_2x.png