Basic markup items

First of all, when writing markup, we need to add titles for different sections. To do that, we have to add the # symbol in front of the text and it automatically becomes a header text with a bigger bold font. For example:

//: # Header Big

If we keep adding more # in front then we demote the text:

If we want to use lists in the text, then we should structure it as follows:

//: List//: * option 1//: * option 2//: * option 3//:    - option 3.1

With adding an extra offset, we can push the bullets to the right, simulating subsections. To create enumerated lists, you should start each option with  1.  like this:

//: Enumerated list ...

Get Learn Swift by Building Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.