Permalink
Browse files

update syntax guide, we can use pandoc to output other formats.

  • Loading branch information...
1 parent f6f1675 commit d4177a7a2350a8cdc4d1a317702faf3b19e68607 @dindinw committed Nov 3, 2011
Showing with 43 additions and 6 deletions.
  1. +43 −6 gfm-syntax-guide.md
View
@@ -2,19 +2,37 @@ The Makedown for Github Syntax Guild
====================================
-### Headlines ###
+Headlines
+=========
+H1
+
+~~~~
This is an H1
=============
# This is also an H1
# This is an H1 again (look petty in txt) #
+~~~~
+
+H2
+
+~~~~
This is an headline H2
----------------------
## This is also an H2
+~~~~
+
+H3-H6
+
+~~~~
### This is an H3
#### This is an H4
##### This is an H5
###### This is an H6
+~~~~
+
+Paragraphs
+==========
This a regural paragraphs.
with hard warp the line foo bar, foo bar. foo bar, foo bar.foo bar, foo bar.foo
@@ -25,7 +43,8 @@ bar.foo bar, foo bar.foo bar, foo bar.foo bar, foo bar.foo bar, foo bar.foo bar
This is the second paragraph. This time we don't hard wrap the line. so foo bar, foo bar.foo bar. foo bar,foo bar,foo bar. foo bar,foo bar.foo bar,foo bar.foo bar,foo bar.foo bar,foo bar.foo bar,foo bar.foo bar,foo bar.foo bar,foo bar.foo bar,foo bar.foo bar,foo bar.foo bar,foo bar.
-### Blockquote ###
+Blockquote
+==========
> This is a blockquote with two paragraphs.
>
@@ -39,10 +58,28 @@ Some other text
>
> Cool?
+Bullet List
+===========
+
+* fruits
+ + apples
+ - macintosh
+ - red delicious
+ + pears
+ + peaches
-### ###
+~~~~
+* fruits
+ + apples
+ - macintosh
+ - red delicious
+ + pears
+ + peaches
+~~~~
+
+Code with Syntax
+================
-### Code with Syntax ###
~~~~ {.java}
// Hello World in Java syntax.
@@ -54,10 +91,10 @@ class HelloWorld {
}
~~~~
-```ruby
+~~~~ {.ruby .numberLines}
# Hello World in Ruby syntax.
puts 'Hello world'
-```
+~~~~

0 comments on commit d4177a7

Please sign in to comment.