Markdown Sample
2024-05-07
2 min read
This is a reference for the styles of my blog. I need it to be here because I write the theme myself, and I can see what goes wrong by taking a glance at this page.
Paragraphs are separated by a blank line.
2nd paragraph. Italic, bold, and monospace
. Itemized lists
look like:
- this one
- that one
- the other one
Block quotes are written like so.
They can span multiple paragraphs, if you like.
Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., "it's all in chapters 12--14"). Three dots ... will be converted to an ellipsis. Unicode is supported. ☺
An h1 header
An h2 header
An h3 header
An h4 header
An h5 header
An h6 header
Here's a numbered list:
- first item
- second item
- third item
Code block:
#include <bits/stdc++.h>
using namespace std;
int main() {
cout << "This is a string" << endl;
return 0;
}
Tables can look like this1:
First Header | Second Header |
---|---|
Content Cell | Content Cell |
Content Cell | Content Cell |
Syntax | Description | Test Text |
---|---|---|
Header | Title | Here's this |
Paragraph | Text | And more |
A horizontal rule follows.
and images can be specified like so:
Inline math equations go in like so: . Display math should get its own line and be put in in double-dollarsigns:
And note that you can backslash-escape any punctuation characters which you wish to be displayed literally, ex.: `foo`, *bar*, etc.
Footnotes
-
Footnote here ↩