Markdown is a lightweight markup language with plain-text-formatting syntax. Its design allows it to be converted to many output formats, but the original tool by the same name only supports HTML. Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor.
Text formatting
You can create headers by using hash symbols. For example, a single hash symbol before a sentence creates a header. Double hash symbols create a sub-header.
Lists
You can create ordered or unordered lists by using numbers or asterisks:
- Item 1
- Item 2
- Item 3
Tables
Tables can be created using a combination of hyphens and pipe symbols. For example:
Name | Age | Occupation |
---|---|---|
John | 25 | Student |
Sarah | 30 | Teacher |
Mark | 22 | Engineer |
Markdown is a great tool for quickly formatting text in a clear and easy-to-read manner. By implementing these simple formatting rules, you can improve the readability and structure of your content.