An example of what's possible to do with Markdown.
Paragraphs can be written like so. A paragraph is the basic block of Markdown. A paragraph is what text will turn into when there is no reason it should become anything else.
Paragraphs must be separated by a blank line. Basic formatting of italics and bold is supported. This can be nested like so.
- Item 1
- A second item
- Number 3
- Go forth, fourth item
- An item
- Another item
- Yet another item
- And there's more...
Code blocks are very useful for developers and other people who look at code or other things that are written in plain text. As you can see, it uses a fixed-width font.
You can also make inline code
to add code into other things.
/*
* Fenced Code Blocks are even better since
* they can be tagged with a language for
* syntax coloring and don't need any special
* indentation.
*/
function sayHi() {
return "hello, I'm JavaScript";
}
Looking at these stars suddenly dwarfed my own troubles and all the gravities of terrestrial life. I thought of their unfathomable distance, and the slow inevitable drift of their movements out of the unknown past into the unknown future.
Useful for dividing sections.
There are six levels of headings. They correspond with the six levels of HTML headings. You've probably noticed them already in the page. Each level down uses one more hash character.
The first three heading levels already appear above. Here are the rest: