Guides and Sample Code

Developer

Markup Formatting Reference

On This Page

Horizontal Rules

Display a horizontal rule on the page.

Works with:

  • ✓ Playgrounds

  • ✓ Symbol documentation

Syntax

Insert a horizontal rule by using three or more hyphens (-), asterisks (*), or underscores (_) on a line that is surrounded by empty lines. Each of the characters is the same for a horizontal rule. Whitespace between the characters is ignored.

  • ---… | ***… | ___
  • ---… | ***… | ___…
  •  

Playground Example

  1. /*:
  2.  This text is above the horizontal rule.
  3.  - - -
  4.  And this is below.
  5. */
image: ../Art/MFR_horizontal_rule_eg_2x.png

Quick Help Example

  1. /**
  2.  An example of using a *horizontal rule*
  3.  This text is above the horizontal rule
  4.  * * * * *
  5.  And this is below
  6. */
image: ../Art/MFR_symbol_horizontal_rule_2x.png