December 21st, 2017
Markdown is an easy-to-use markup language, used to format docs for web, using plain text.
It is used by DataHub, Github, Stackoverflow and many other sites.
usual text usual text
*italic text* italic text
**bold text** bold text,
double space - linebreak
--- horizontal line like this:
Santa Claus said: > Happy Christmas, hohoho
Santa Claus said:
Happy Christmas, hohoho
# this is a Header1 ## Header2 ... ###### Header6
* task 1 * task 2 * task 2a * task 2b
List with checkboxes:
* [x] unchecked * [ ] checked
This is an inline code: `inline code`
This is an inline code:
Multi-line code starts with triple backtick (also you can add the programming language name - ```[python|bash|php|etc]
and ends with triple backtick apostrophe as well.
As you can see, formatting text with Markdown is as easy as using notepad. Also, the markdown syntax could be extended easily, and here is the extra features, you can use to format pages for datahub.
In the world of computer programming, frontmatter is metadata at the top of a file. Just put your metadata between two lines like this:
--- title: 5 minutes Markdown guide date: 2017-12-21 ---
And our site will use this metadata while forming the page. The result you can see on top of this page (‘author’ is used in the blog posts).
If you will add
[[toc]] in your document - this will be automatically transformed into Table Of Content section, with links to all your Headers.