*italics* **bold** ***bold + italics*** _italics_ __bold__ ___bold + italics___ _**italics + bold**_ *__italics + bold__* **_bold + italics_** __*bold + italics*__ Top-Level Header === Secondary Header --- This is a secondary header too ------------------------------------------- # Another Top-Level Header ## Secondary Header ### Third-level Header #### Fourth-level Header ##### Fifth-level Header ###### Sixth-level Header ### In some implementations, trailing hashes are allowed (and not rendered) ### These are horizontal rules: --- __ *** Although the underscore one does not work on GitHub. And note that one can use an arbitrary amount: ---------------------------------------------------------------------------------- A gotcha is that _this_ line is a header, because it's followed by dashes. --------------------------------------------------------------------------------------------------- This line is followed by a horizontal rule, though. ******************************************************* > This is a block quote. Blah blah blah blah blah. > more blah blah blah blah blah Oh! Lines which start with four spaces are code blocks, and should be monospaced. That doesn't matter in Joe, obviously, but using color here seems appropriate. (How about green?) And finally, here are five different ways links can be constructed. Different variants of markdown might not handle bare links or just the brackets, but the others work everywhere. * Bare link: http://mattdm.org/random-data/markdown-sample.md * Angle brackets: * Inline Reference: [This is the displayed text](http://mattdm.org/random-data/markdown-sample.md) * Numbered Reference: [This is the displayed text][1] * Arbitrary Reference [This is the displayed text][words] The more complicated syntax also allows an optional title. Either: [Link text](http://mattdm.org/random-data/markdown-sample.md "title") or [Link text][2] And _these_ are the definitions for the reference links. The whole line should probably be colored [1]: http://mattdm.org/random-data/markdown-sample.md [words]: http://mattdm.org/random-data/markdown-sample.md [2]: http://mattdm.org/random-data/markdown-sample.md "The title goes here"