You’ll find this post in your _posts
directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve
, which launches a web server and auto-regenerates your site when a file is updated.
To add new posts, simply add a file in the _posts
directory that follows the convention YYYY-MM-DD-name-of-post.ext
and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.
Text can be bold, italic, or strikethrough. Links should be blue with no underlines (unless hovered over).
There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs.
There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs.
There should be no margin above this first sentence. Blockquotes should be a lighter gray with a gray border along the left side. There should be no margin below this final sentence.
This is a normal paragraph following a header. Bacon ipsum dolor sit amet t-bone doner shank drumstick, pork belly porchetta chuck sausage brisket ham hock rump pig. Chuck kielbasa leberkas, pork bresaola ham hock filet mignon cow shoulder short ribs biltong.
This is a blockquote following a header. Bacon ipsum dolor sit amet t-bone doner shank drumstick, pork belly porchetta chuck sausage brisket ham hock rump pig. Chuck kielbasa leberkas, pork bresaola ham hock filet mignon cow shoulder short ribs biltong.
What | Follows |
---|---|
A table | A header |
A table | A header |
A table | A header |
There’s a horizontal rule above and below this.
Here is an unordered list:
And an ordered list:
And an unordered task list:
And a “mixed” task list:
And a nested list:
Definition lists can be used with HTML syntax. Definition terms are bold and italic.
Tables should have bold headings and alternating shaded rows.
Artist | Album | Year |
---|---|---|
David Bowie | Scary Monsters | 1980 |
Prince | Purple Rain | 1982 |
Beastie Boys | License to Ill | 1986 |
Janet Jackson | Rhythm Nation 1814 | 1989 |
If a table is too wide, it should condense down and/or scroll horizontally.
Artist | Album | Year | Label | Songs |
---|---|---|---|---|
David Bowie | Scary Monsters | 1980 | RCA Records | It’s No Game (No. 1), Up the Hill Backwards, Scary Monsters (And Super Creeps), Ashes to Ashes, Fashion, Teenage Wildlife, Scream Like a Baby, Kingdom Come, Because You’re Young, It’s No Game (No. 2) |
Prince | Purple Rain | 1982 | Warner Brothers Records | Let’s Go Crazy, Take Me With U, The Beautiful Ones, Computer Blue, Darling Nikki, When Doves Cry, I Would Die 4 U, Baby I’m a Star, Purple Rain |
Beastie Boys | License to Ill | 1986 | Def Jam | Rhymin & Stealin, The New Style, She’s Crafty, Posse in Effect, Slow Ride, Girls, Fight for Your Right, No Sleep till Brooklyn, Paul Revere, “Hold It Now, Hit It”, Brass Monkey, Slow and Low, Time to Get Ill |
Janet Jackson | Rhythm Nation 1814 | 1989 | A&M | Interlude: Pledge, Rhythm Nation, Interlude: T.V., State of the World, Interlude: Race, The Knowledge, Interlude: Let’s Dance, Miss You Much, Interlude: Come Back, Love Will Never Do (Without You), Livin’ in a World (They Didn’t Make), Alright, Interlude: Hey Baby, Escapade, Interlude: No Acid, Black Cat, Lonely, Come Back to Me, Someday Is Tonight, Interlude: Livin’…In Complete Darkness |
Code snippets like var foo = "bar";
can be shown inline.
Also, this should vertically align
with this
and this
.
Code can also be shown in a block element.
$ a * b = c ^ b $
$ 2^{\frac{n-1}{3}} $
$ \int_a^b f(x)\,dx. $
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!";
return 0;
}
// prints 'Hi, Tom' to STDOUT.
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
p1 = Person("John", 36)
print(p1.name)
print(p1.age)
Inline code inside table cells should still be distinguishable.
Language | Code |
---|---|
JavasScript | var foo = "bar"; |
Ruby | foo = "bar" |
The <samp>
HTML element is used to enclose inline text that represents sample (or quoted) output from a computer program. Here an example of an error message: File not found
.
Small images should be shown at their actual size.
Large images should always scale down and fit in the content container.
Here’s a simple footnote,1 and here’s a longer one.2
This is the final element on the page, and there should be no margin below this.