Skip to content

Instantly share code, notes, and snippets.

@dggodfrey
Last active August 29, 2015 14:07
Show Gist options
  • Save dggodfrey/92719c1308dc6f99b504 to your computer and use it in GitHub Desktop.
Save dggodfrey/92719c1308dc6f99b504 to your computer and use it in GitHub Desktop.
A base markdown file that can be used for styling elements when rendered to html
#This is an H1
Vivamus auctor condimentum porttitor. Morbi turpis ante, commodo eu aliquet at, posuere non enim. Pellentesque aliquet ornare velit, id mattis lectus finibus quis. Proin non dapibus felis. Etiam id lacus hendrerit, posuere ligula eget, maximus nisl.
##This is an H2
Vivamus auctor condimentum porttitor. Morbi turpis ante, commodo eu aliquet at, posuere non enim. Pellentesque aliquet ornare velit, id mattis lectus finibus quis. Proin non dapibus felis. Etiam id lacus hendrerit, posuere ligula eget, maximus nisl.
###This is an H3
Vivamus auctor condimentum porttitor. Morbi turpis ante, commodo eu aliquet at, posuere non enim. Pellentesque aliquet ornare velit, id mattis lectus finibus quis. Proin non dapibus felis. Etiam id lacus hendrerit, posuere ligula eget, maximus nisl.
####This is and H4
Vivamus auctor condimentum porttitor. Morbi turpis ante, commodo eu aliquet at, posuere non enim. Pellentesque aliquet ornare velit, id mattis lectus finibus quis. Proin non dapibus felis. Etiam id lacus hendrerit, posuere ligula eget, maximus nisl.
#####This is an H5
Vivamus auctor condimentum porttitor. Morbi turpis ante, commodo eu aliquet at, posuere non enim. Pellentesque aliquet ornare velit, id mattis lectus finibus quis. Proin non dapibus felis. Etiam id lacus hendrerit, posuere ligula eget, maximus nisl.
######This is an H6
Vivamus auctor condimentum porttitor. Morbi turpis ante, commodo eu aliquet at, posuere non enim. Pellentesque aliquet ornare velit, id mattis lectus finibus quis. Proin non dapibus felis. Etiam id lacus hendrerit, posuere ligula eget, maximus nisl.
#This is an H1
##This is an H2
###This is an H3
####This is an H4
#####This is an H5
######This is an H6
#Blockquote
> This is a blockquote 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.
#Blockquote with nested block quote
> This is the first level of quoting.
>
> > This is nested blockquote.
>
> Back to the first level.
#Blockquote with other markdown
> ## This is a header.
>
> 1. This is the first list item.
> 2. This is the second list item.
>
> Here's some example code:
>
> return shell_exec("echo $input | $markdown_script");
#Unordered Lists
- Red
- Green
- Blue
#Ordered Lists
1. Bird
2. McHale
3. Parish
#List item with code block
* A list item with a code block:
<code goes here>
#Code block
```javascript
function test(index, args){
return false;
}
```
#horizontal rule
***
#links
This is [an example](http://example.com/ "Title") inline link.
[This link](http://example.net/) has no title attribute.
#emphasis (italic)
*single asterisks*
#emphasis (bold)
**double asterisks**
#span of code
Use the `printf()` function.
#image
![Alt text](http://placekitten.com.s3.amazonaws.com/homepage-samples/408/287.jpg "Optional title")
#Table
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment