Test page for Markdown on Save Improved plugin
This is a dummy example post body, that can be used for testing Markdown rendering in any WordPress post or in any Markdown supporting page at all. I wrote it months ago and started using it for testing Markdown on Save Improved plugin. But then in turned out, that this quick sheet can be used virtually everwhere, where Markdown can be used. Just paste everything or selected part to test and verify Markdown in your blog, website, service etc.
Contents
Classic Markdown
Headers (normal)
# Header H1 ## Header H2 ### Header H3 #### Header H4 ##### Header H5 ###### Header H6
Headers (Setext)
Header H1 ======== Header H2 --------
Ordered lists
1. One 2. Two 3. Three
Unordered lists:
* A cat * A dog * and a turtle
You can use asterisk (*
), plus (+
) or minus (-
) here.
Links
[Link text](https://www.google.com/)
Images
![Alt tag text](https://www.google.pl/images/srpr/logo4w.png "Title tag text")
Code and preformatted text
Make sure, that you’re starting each line with four spaces!
This is `example` of an inline `code`. And... this is really large block of code and nothing else.
For some Markdown parsers you must have empty lines before and after block of code. So:
This may not work in certain parsers and nothing else.
Markdown Extra
Code
~~~ [php] phpinfo(); /** * Comment... */ public function actionIndex() { $this->render('index'); } ~~~
Footnotes
This is some text with a footnote[^1]. [^1]: And this is footnote itself...
Abbreviations
This is some text written partially in HTML, a hypertext language that is maintained by W3C organisation. *[HTML]: Hyper Text Markup Language *[W3C]: World Wide Web Consortium
Tables
L.p. | Name -----+--------- 1. | Smith 2. | Doe 3. | Another
Or as an alternative:
+------+---------+ | L.p. | Name | +------+---------+ | 1. | Smith | | 2. | Doe | | 3. | Another | +------+---------+
Cites
> Right triangle brackets are used to create block of citations > > Use more than one to create intend
Horizontal lines
--- *** ___
Line break
End any line of text with two spaces to force line break in even not preformatted text.