kbarre123

My online journal.

Hello World

| Comments

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:

  1. Get castrated using a butter-knife.
  2. Just about anything, including:
  3. 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

alt text

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
$ git clone https://github.com/kbarre123/kbarre123.github.io.git

Larger code blocks are also fenced in with three backticks.

Here’s some Java codeLink
1
2
3
4
5
String myString = "Here's another string."
if (myString.length() > 0)
{
    System.out.printf("%s%n", myString);
}

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:

Comments