, 3 min read
Style Guide
Inspired by the post of Naty S. in BurgeonLab I list my style elements of this blog.
H2 Headers
H3 Headers
H4 Headers
Admonitions
Since version 0.6 MD4C supports GitHub admonitions.
note
Useful information that users should know, even when skimming content.
tip
Helpful advice for doing things better or more easily.
important
Key information users need to know to achieve their goal.
warning
Urgent info that needs immediate user attention to avoid problems.
caution
Advises about risks or negative outcomes of certain actions.
Separators
Code
C code
#include <stdio.h>
int main () {
puts("Hello, world");
return 0;
}
C code with syntax highlighting
#include <stdio.h>
int main () {
puts("Hello, world");
return 0;
}
Enumerations
Numbered enumerations.
- I am the Lord, your God, who brought you out of the land of Egypt, out of that place of slavery.
- You shall not have other gods instead of me. You shall not make idols or any image of things that are in the heavens above or that are upon the earth or that are in the waters under the earth. You shall not bow before them nor shall you serve them. I, the Lord, am your God, a jealous God, who punishes the sins of fathers upon their sons until the third and fourth generations of those who hate me, but I will show my favor for a thousand generations of those who love me and observe my commandments.
- You shall not take the name of the Lord, your God, in vain, for the Lord will not leave unpunished those who use his name in vain.
- Remember the Sabbath and keep it holy. Six days you shall labor and do your work, 10 but the seventh day is the Sabbath in honor of the Lord your God. You shall not do any work, neither you, nor your son, nor your daughter, nor your male slave, nor your female slave, nor your animals, nor the foreigner who dwells with you. 11 The Lord made the heavens and the earth and the seas and that which is in them in six days, but he rested the seventh day. Thus, the Lord blessed the Sabbath and declared it to be sacred.
- Honor your father and your mother so that your days may be lengthened in the land that the Lord your God, will give you.
- You shall not murder.
- You shall not commit adultery.
- You shall not steal.
- You shall not give false witness against your neighbor.
- You shall not covet your neighbor’s house. You shall not covet your neighbor’s wife, nor his male slave, nor his female slave, nor his oxen, nor his donkey, nor anything that belongs to your neighbor.
Unordered enumerations.
- Flour, 500 g
- Sugar, 250 g
- Milk, 450 ml
- Eggs, 6
- Butter, 250 g
Tables
Waffles
| Ingredients | Full | Half | Third |
|---|---|---|---|
| Flour | 500 g | 250 g | 167 g |
| Sugar | 250 g | 125 g | 83 g |
| Milk | 450 ml | 225 ml | 150 ml |
| Eggs | 6 | 3 | 2 |
| Butter | 250 g | 125 g | 83 g |
Quotation
Warum aber müssen wir auf dem Mond landen? Als Charles Lindbergh im Jahre 1927 seinen berühmten Flug über den Atlantik antrat, verkündete er, daß Paris sein Ziel sei. Aber wenn es sein einziges Ziel gewesen wäre, Paris zu erreichen, so hätte er eine Schiffskarte lösen können und sicher eine bequemere Reise gehabt. Was Lindbergh wirklich im Sinn hatte, war, vor aller Welt zu demonstrieren, daß die Zeit gekommen sei, in der ein Mensch den Atlantik überfliegen könne. Heute weiß die ganze Welt, welche Bedeutung die transozeanische Fliegerei gewann, nachdem Lindbergh das Eis gebrochen hatte.
Wernherr von Braun (1967)