Marvelous Markdown
Almost all of the writing I do starts as Markdown —- a word-processing format as simple as it is structured. The limited number of choices Markdown offers enables the writer to concentrate on meaning, without getting blogged down on how it looks. With the display abstracted from the structure, changing its styling is trivial. Markdown is converted to HTML and styled with CSS.
The content of this website is written in Markdown and this page created to show the main Markdown and some Markdown Extra tags. What better way to go down a rabbit hole than to reference Alice in Wonderland by Lewis Carroll. Scroll to the bottom to see a copy of the raw Markdown.
Paragraphs
Alice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was reading, but it had no pictures or conversations in it, “and what is the use of a book,” thought Alice “without pictures or conversations?”
So she was considering in her own mind (as well as she could, for the hot day made her feel very sleepy and stupid), whether the pleasure of making a daisy-chain would be worth the trouble of getting up and picking the daisies, when suddenly a White Rabbit with pink eyes ran close by her.
H2 Heading
There was nothing so very remarkable in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itself, “Oh dear! Oh dear! I shall be late!” (when she thought it over afterwards, it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); but when the Rabbit actually took a watch out of its waistcoat-pocket, and looked at it, and then hurried on, Alice started to her feet, for it flashed across her mind that she had never before seen a rabbit with either a waistcoat-pocket, or a watch to take out of it, and burning with curiosity, she ran across the field after it, and fortunately was just in time to see it pop down a large rabbit-hole under the hedge.
H3 Heading
In another moment down went Alice after it, never once considering how in the world she was to get out again. The rabbit-hole went straight on like a tunnel for some way, and then dipped suddenly down, so suddenly that Alice had not a moment to think about stopping herself before she found herself falling down a very deep well.
H4 Heading
Either the well was very deep, or she fell very slowly, for she had plenty of time as she went down to look about her and to wonder what was going to happen next. First, she tried to look down and make out what she was coming to, but it was too dark to see anything; then she looked at the sides of the well, and noticed that they were filled with cupboards and book-shelves; here and there she saw maps and pictures hung upon pegs.
H5 Heading
She took down a jar from one of the shelves as she passed; it was labelled “ORANGE MARMALADE”, but to her great disappointment it was empty: she did not like to drop the jar for fear of killing somebody underneath, so managed to put it into one of the cupboards as she fell past it.
H6 Heading
“Well!” thought Alice to herself, “after such a fall as this, I shall think nothing of tumbling down stairs! How brave they’ll all think me at home! Why, I wouldn’t say anything about it, even if I fell off the top of the house!” (Which was very likely true.)
Markdown phrase elements
The beauty of Markdown is its simplicity.
- To create Bold text you add two asterisks to the front and back of the
**emboldened**
text. - To create Italic you can use
_underscores_
, though I prefer single astericks. - Inline
code
is handled using`backticks`
.
Blockquote
It was all very well to say “Drink me,” but the wise little Alice was not going to do that in a hurry. “No, I’ll look first,” she said, “and see whether it’s marked ‘poison’ or not.”
- Alice in Wonderland
Unordered List
- Flamingo
- Mammals
- White Rabbit
- Dormouse
- Gryphon
- Caterpillar
Ordered List
- Drink
- Rabbit
- Fan
- Glove
- Watch
- Cake
Definition List
Definition lists are not part of the original Markdown specification, however, I find them incredibly useful.
- Alice
- A young girl of indeterminate age.
- Cheshire cat
- An enigma dressed up as a cat.
- A tea pot
- Not a character in a book by Lewis Carroll
- A useful receptacle for making tea.
Table
Title | Language | Year |
---|---|---|
Alice’s Abenteuer im Wunderland | German | 1869 |
Aventures d’Alice au pays des merveilles | French | 1869 |
Alice’s Äventyr i Sagolandet | Swedish | 1870 |
Le Avventure di Alice nel Paese delle Meraviglie | Italian | 1872 |
Naked Markdown
Here is the same text displayed in Markdown.