From https://daringfireball.net/projects/markdown/syntax
you should be able to escape this behaviour by using "\\", e.g.Markdown supports two styles of headers, Setext and atx.
Setext-style headers are “underlined” using equal signs (for first-level headers) and dashes (for second-level headers). For example:
Atx-style headers use 1-6 hash characters at the start of the line, corresponding to header levels 1-6. For example:Code:This is an H1 ============= This is an H2 ------------- Any number of underlining =’s or -’s will work.
Code:# This is an H1 ## This is an H2 ###### This is an H6
Code:Sample Text \\-----------
Ahh, oops! I only knew of the pound sign (#) method for headers before. Thank you very much!
I added an extra break and the "-----" is back to the line it was meant to be with the header formatting gone.