Use a # and a space at the beginning of a line to turn it into a heading. You can indicate which level of heading by how many # you use. If you're familiar with HTML, it's the same: H1 = #, H2 = ##, etc. up to 6 #
Example:
# Main Topic
...
## Sub Topic
...