Formatting
Warpcore theme formatting preview
Text can be bold, italic, or strikethrough.
There should be whitespace between paragraphs.
There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project.
Header 2
Header 2 content
Header 3
This is a normal paragraph of content following a header.
Note
When something is important enough, you do it even if the odds are not in your favor.
Header 4
- This is an unordered list following a header.
- This is an unordered list following a header.
- This is an unordered list following a header.
Header 5
- This is an ordered list following a header.
- This is an ordered list following a header.
- This is an ordered list following a header.
Header 6
head1 | head two | three |
---|---|---|
ok | good swedish fish | nice |
out of stock | good and plenty | nice |
ok | good oreos |
hmm |
ok | good zoute drop |
yumm |
Horizontal rule
Lists
Unordered lists
- Item foo
- Item bar
- Item baz
- Item zip
Ordered lists
- Item one
- Item two
- Item three
- Item four
Nested lists
- level 1 item
- level 2 item
- level 2 item
- level 3 item
- level 3 item
- level 1 item
- level 2 item
- level 2 item
- level 2 item
- level 1 item
- level 2 item
- level 2 item
- level 1 item
Definition lists
- Name
- Godzilla
- Born
- 1952
- Birthplace
- Japan
- Color
- Green
Images
Small image
Large image
Code blocks
This is a paragraph that contains inline code
.
#include <stdio.h>
int main()
{
int counter = 0;
char *string = "Hello my friend";
for (int i = 0; i < counter; i++)
{
printf("%s\n", string);
}
}
// Javascript code with syntax highlighting.
var fun = function lang(l) {
dateformat.i18n = require('./lang/' + l)
return true;
}
# Ruby code with syntax highlighting
GitHubPages::Dependencies.gems.each do |gem, version|
s.add_dependency(gem, "= #{version}")
end
Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.
The final element.
Mathjax
Inline equations can be used in between (eg, $ f(x) = \frac{x}{(x + 1)^2} $
) and display as $ f(x) = \frac{x}{(x + 1)^2} $.
Block equations can also be used:
$$ e = mc^2 $$
and display as: