Headings are usually set using a hash before a title. The number of hashes determine the depth of the heading. Hash heading depths range from 1-6:
Alternatively, for H1 you can use ----
instead of #
underneath the heading, and for H2 ====
instead of ##
:
You can also use inline formatting and links inside the headings: