- The file is serialized in a binary format that can only be viewed and decoded with the Word application.
- The Word application is proprietary, closed-source, and costs money.
- The file is not suited for diffing via source control.
- Sharing and collaborating is difficult, and typically involves emailing a file back and forth.
- Track changes, but version-itis can clobber and confound this benefit.
- Grammar check
- Spell check
- The file is serialzed in a text format that can be viewed by any text editor.
- There is no mandatory application that must be used to view Markdown.
- Markdown is not proprietary, and costs nothing.
- The file is extremely well suited for diffing via source control.
- Sharing and collaborating is easy, and favors source control, avoiding emailing files back and forth.
- Track changes is implicit when used on a repository.
- Grammar check nonexistent
- Spell check nonexistent
To get started, reivew the Markdown Guide.
Below the Markdown Cheat Sheet is restated as a version local to this repository.
This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. It can’t cover every edge case, so if you need more information about any of these elements, refer to the reference guides for basic syntax and extended syntax.
These are the elements outlined in John Gruber’s original design document. All Markdown applications support these elements.
Element | Markdown Syntax | Rendered Output |
---|---|---|
Heading | # Heading 1 ## Heading 2 ### Heading 3 |
|
Bold | **bold text** |
bold text |
Italic | *italicized text* |
italicized text |
Blockquote | > blockquote |
> blockquote |
Ordered List | 1. First item 2. Second item 3. Third item |
|
Unordered List | - First item - Second item - Third item |
|
Code | code |
|
Horizontal Rule | --- | |
Link | [title](https://www.github.com) |
GitHub |
Image | ![alt text](https://www.markdownguide.org/assets/images/tux.png) |
These elements extend the basic syntax by adding additional features. Not all Markdown applications support these elements.
Element | Markdown Syntax |
---|---|
Table |
| Syntax | Description | |
Fenced Code Block | ``` |
Footnote |
Here's a sentence with a footnote. [^1] |
Heading ID | ### My Great Heading {#custom-id} |
Definition List |
term |
Strikethrough | ~~The world is flat.~~ |
Task List |
- [x] Write the press release |
Emoji (see also Copying and Pasting Emoji) |
That is so funny! :joy:
|
Highlight |
I need to highlight these ==very important words==.
|
Subscript |
H~2~O
|
Superscript |
X^2^
|
Below the basic style Markdown Guide is restated as a verion local to this repository.
- Markdown applications don't agree on how to handle a missing space between the number signs (
#
) and the heading name. For compatibility, always put a space between the number signs and the heading name.
✅ Do this | ❌ Don't do this |
---|---|
# Here's a Heading |
#Here's a Heading |
- Put blank lines before and after a heading for compatibility.
✅ Do this | ❌ Don't do this |
---|---|
Try to put a blank line before...# Heading ...and after a heading. |
Without blank lines, this might not look correct.# Heading Don't do this! |
To create paragraphs, use a blank line to separate one or more lines of text.
Markdown | HTML | Rendered Output |
---|---|---|
I really like using Markdown. I think I'll use it to format all of my documents from now on. |
<p>I really like using Markdown.</p> <p>I think I'll use it to format all of my documents from now on.</p> |
I really like using Markdown. I think I'll use it to format all of my documents from now on. |