This is my first post using Octopress. I’m still trying to get the hang of it, and I don’t know markup well enough at the moment. So, let’s give it a test-run.
I chose Octopress because it offers some handy plugins and its use of Github Flavored Markdown (GFM). So, let’s test it out.
Headers
Let’s start with something easy.
h1 - This is quite large
h2 - I think I like this one the best
h3 - Blah blah blah
h4 - Getting smaller now…
h5 - Almost gone…
h6 - And the grand finale
It appears that the h2 header is preceeded by a nice section break, which I like.
Emphasis
OK, what about emphasis and underscores? Or maybe strong emphasis? What about combined emphasis? I know, cool story, bro.
Lists
Let’s make a list of things I’d rather do that listen to Contemporary Christian music:
- Get castrated using a butter-knife.
- Just about anything, including:
- first item in unordered sub-list (this is supposed to be a ul li, but it won’t work -___-)
- second item in unordered sub-list
- this doesn’t seem to be working at all
Links
I’m an inlike-style link
I’m an inlike-style link with a title; hover over me!
Images
Code and Syntax Highlighting
Inline code is done with a single backtick: ls -la | grep deeznutz
. A single line of code can be instantiated by indenting a line with 4 spaces.
String myString = "I'm not used to using markdown and stuff. Note that I don't have syntax highighting :("
Alternatively, you can use three backticks, which will also gives you line numbering and syntax highlighting.
1
|
|
Larger code blocks are also fenced in with three backticks.
1 2 3 4 5 |
|
Blockquotes
This is a blockquote.
This is part of the same blockquote b/c I used two spaces after the first line.
Horizontal Rule
Three or more hyphens, asterisks or underscores will do.
YouTube Videos
These can’t be added directly, but you can add an image with a link to the video like this: