Demo post (cause it's fun)
Ref:
- markdown syntax
- markdown basics
- github flavored markdown (GFM): https://help.github.com/articles/github-flavored-markdown/
- another cheatsheet -github_style: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
- another one: http://assemble.io/docs/Cheatsheet-Markdown.html
Header1
Header2
Header3
...etc...
Bold
Italic
Links
reference defined:
reference used: Google
Pics
Standard Paragraph Praesent tincidunt vestibulum sem nec eleifend. Pellentesque adipiscing mollis adipiscing. Sed ipsum sem, eleifend eget dapibus in, tincidunt ut dolor. Curabitur gravida urna leo, eget auctor turpis feugiat non. Vivamus pharetra, lorem id ullamcorper rutrum, eros erat condimentum erat, ac dignissim lorem nisi nec nunc. Praesent tellus mi, volutpat quis nisl et, consectetur blandit nibh.
BlockQuote
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas egestas leo id tortor feugiat, sit amet cursus diam mollis. Nunc sit amet tellus est. Nunc lacus nisl, gravida ut aliquam vel, molestie eget odio. Nulla facilisi. Ut sed libero pharetra nunc volutpat hendrerit. Mauris eget mi adipiscing, congue tellus ut, scelerisque eros. Phasellus ullamcorper dictum tellus nec pretium.
Table
Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
Unordered List
- Nulla sit amet nulla non odio sodales mollis elementum sed sem.
- Donec id tristique enim. Quisque tellus est, dignissim ut justo ac, volutpat fringilla mi.
- Nam luctus erat dolor, non viverra nulla varius at.
OR
- blah1
- blah2
- more...
Ordered List
- Nam bibendum turpis massa, at accumsan justo fermentum ac.
- Nulla non nulla ut ante condimentum mattis vel at lectus.
- Etiam eget tortor tincidunt, iaculis ligula a, tristique massa. Fusce sed congue lorem, interdum sodales nisl.
This is a list item with two paragraphs.
This is the second paragraph in the list item. You're only required to indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Another item in the same list.
Horizontal Line
Code
Find more languages click here
c linenos
void func()
{
if (this==that)
done=true;
return done;
}
void func()
{
if (this==that)
done=true;
return done;
}
def func()
{
if this==that:
done=true
return done
}
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
this is flat test...
1
2
3
4
5
6
void func()
{
if (this==that)
done=true;
return done;
}
1
2
3
4
5
6
void func()
{
if (this==that)
done=true;
return done;
}
Chars needing escape
\ ` * _ {} [] () # + - . !
blog comments powered by Disqus