2024-02-10T10:01:39
Status: moc
Tags: markdown
Links: Technology | Software Development | Standards | Knowledge base
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
| Style | Syntax | Example | Output |
|---|---|---|---|
| Bold | ** ** or __ __ | **Bold text** | Bold text |
| Italic | * * or _ _ | *Italic text* | Italic text |
| Strikethrough | ~~ ~~ | ~~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 |
|
| Numbered list | 1. | 1. list item |
|
Used by
Related Blog Posts
References
- https://en.wikipedia.org/wiki/Markdown
- https://daringfireball.net/projects/markdown/
- https://www.markdownguide.org/
- https://www.altova.com/xmlspy-xml-editor/markdown-editor
- https://help.obsidian.md/Editing+and+formatting/Basic+formatting+syntax
- https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax