2024-02-10T10:01:39

Status: moc

Tags: markdown

Markdown

Markdown is a lightweight markup language for creating formatted text using a plain-text editor. John Gruber and Aaron Swartz created Markdown in 2004 as a markup language that is intended to be easy to read in its source code form. Markdown is widely used for blogging and instant messaging, and also used elsewhere in online forums, collaborative software, documentation pages, and readme files.

The initial description of Markdown contained ambiguities and raised unanswered questions, causing implementations to both intentionally and accidentally diverge from the original version. This was addressed in 2014 when long-standing Markdown contributors released CommonMark, an unambiguous specification and test suite for Markdown.

This page itself is written in Markdown syntax using Obsidian, as is my entire blog and Knowledge base, and is transformed into HTML by the Publishing module in Obsidian.

Markdown is in many ways similar to Wiki text formatting.

Examples

StyleSyntax  ExampleOutput
Bold** ** or 
__ __
**Bold text**Bold text
Italic* * or 
_ _
*Italic text*Italic text
Strikethrough~~ ~~~~Striked out text~~Striked out text
Bold and nested italic** ** and 
_ _
**Bold text and _nested italic_ text**Bold text and nested italic text
Bold and italic*** *** or 
___ ___
***Bold and italic text***Bold and italic text
Heading## Heading

Heading

Sub-heading#### Sub-heading

Sub-heading

Bullet list-- list item
  • list item
Numbered list1.1. list item
  1. list item

Used by

References