๐๏ธ Markdown
About
Overview
- Format used for GitHub Readme.md files, StackOverflow, and etc.
- Created by John Gruber and Aaron Swartz in 2004
- There are many versions of Markdown with different features.
- Use Markdown and/or HTML code that is universal across versions.
Resources
Topics
Indent sub-items
- Two or three spaces depending on the implementation
- An empty line break between items is required in some implementations
Images
Center items
Equality
- Greater than or equals
- Less than or equals
Embed
Line break
Strikethrough
Highlight
Subscript
$CO_2$
CO<sub>2</sub>_
- \(CO_2\)
Superscript
$MC^2$
MC<sup>2</sup>
- \(MC^2\)
Escape characters
Links
Organize links
- Wrap link text:
(some link text)[1]
- Provide link at the bottom of the page:
[1]: [www.somelinktext.com](http://www.somelinktext.com)
Email
mailto:someemail@domain.xyz
- Do not include prefix
https://
Phone
- US:
tel:1234567890
- Int'l:
tel:+11234567890
Open in a new tab
<a href="https://duckduckgo.com" target="_blank">Duck Duck Go</a>
Tables
About
- Markdown formatting that doesn't work in tables: Headings, lists, line breaks, images, horizontal rules, and blockquotes
- You have to use HTML
Convert a table from a Google document
HTML table builders
- UI to build a table
- tablesgenerator.com
- Build complex tables in HTML to copy and paste into Markdown files.
- E.g. Text fonts, sizing, lists, and etc.
- Save and load tables
- Opportunity
- HackMD
- Convert CSV and other delimited data into a Markdown table
Center a table
Resources
Style and theme
This is not technical advice. Always read the official documentation and do your own research.