#### Samples of most of the markdown and markdown extra features
[=More or less complete example of all the Markdown Extra syntax to test if proper CSS styling is applied. I am going to add a a lot of ipsumForage McSweeney’s fanny pack, gluten-free 90’s food truck lo-fi church-key craft beer pop-up vinyl scenester kitsch. Bitters whatever vinyl shabby chic, single-origin coffee McSweeney’s sustainable messenger bag trust fund hashtag letterpress viral small batch. Vice mumblecore Portland selvage irony, twee flannel VHS DIY stumptown quinoa Tumblr semiotics tofu. Schlitz whatever single-origin coffee narwhal, butcher Odd Future tofu cliche bitters Austin McSweeney’s four loko. Flexitarian Etsy hashtag art party brunch roof party. Selvage tofu pickled kale chips, ethical Portland cornhole. Wayfarers flannel seitan, scenester Portland tote bag chillwave keffiyeh mixtape cray sriracha.=]
This is a multi-line blockquote with each line started by the > symbol The symbol is followed by a space and then the content is added This is the third line in the block quote I am out of things to say, so Thundercats
This is the first line of the lazy method with hard returns between the lines and it should, in theory, display properly. If not, then Wolf lomo quinoa direct trade American Apparel, wayfarers Echo Park typewriter forage blog Thundercats cornhole +1. Squid typewriter Bushwick locavore narwhal.
This is the first level of blockquotery - same as before (blank line)
This is a second level of blockquote inside the first Another line of the second level
A third level - notice the spaces between the symbols! Back to the second level And finally back to the first level
This is a header.
- This is the first list item.
- This is the second list item.
Here’s some example code:
return shell_exec("echo $input | $markdown_script");
a. A first item b. A second item c. A third item
This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus. Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
Suspendisse id sem consectetuer libero luctus adipiscing.
A list item with a code block:
<code goes here>
#include<stdio.h>
int main(){
prints("Hello, world\n");
return 1;
}
Four asterisks:
four dashes:
four underscores:
This is a paragraph with a link Austin Pinterest Pitchfork XOXO tote bag yr, wolf flexitarian keffiyeh craft beer.
This is the regular garbage with a link. And this is an example of a link defined elsewhere in the document, in this instance to the daring fireball website.
I get 10 times more traffic from Google than from Yahoo or MSN.
A paragraph using single asterisks, single underscores, double asterisks, and double underscores
This is a sentence in which I am going to embed some html <a href="#">blah</a> code using 3 backticks
This is a sentence in which I surround a link with the < and > tags and it automagically makes a link, for example: http://google.com
Markdown should escape the following characters if preceded by a backslash:
These would normally be used if the characters are needed in the middle of some other Markdown formatted entity
This:
<blockquote markdown="1">
This is *true* markdown text.
</blockquote>
Produces this:
This is *true markdown text.
Use fenced style ## Header 2 ## {#header2} to make this work
And now a link back to header2
Note that the same number of characters should fence the block
three tildes:
#include<stdio.h>
int main(){
prints("Hello, world\n");
return 1;
}
three backticks:
#include<stdio.h>
int main(){
prints("Hello, world\n");
return 1;
}
First Header | Second Header
---------------------|------------------------
Content A | Content B
Content C | Content D
Produces this:
| First Header | Second Header |
|---|---|
| Content A | Content B |
| Content C | Content D |
Using starting and ending ‘pipes’ in conjunction with a colon to align one column:
| First Header | Second Header |
| ---------------------|------------------------:|
| Item 1 | $1600 |
| Item C | $12 |
| Item J | $3 |
Produces this:
| First Header | Second Header |
|---|---|
| Item 1 | $1600 |
| Content C | $12 |
| Item J | $3 |
Apple
: Pomaceous fruit of plants of the genus Malus in
the family Rosaceae.
Orange
: The fruit of an evergreen tree of the genus Citrus.
produces this:
Probably the most useful Markdown Extra feature, the footnote1 allows you to easily make footnotes in the document.
And define them elsewhere ↩