Markdown Writing Guide


Markdown Writing Guide

Markdown is a lightweight markup language that allows you to write documents using plain text format. This article will cover commonly used Markdown syntax.

Headings

Use # symbols to create headings:

# Heading 1
## Heading 2
### Heading 3

Text Formatting

  • Bold: **bold text**
  • Italic: *italic text*
  • Strikethrough: ~~strikethrough~~
  • Inline code: `code`

Lists

Unordered List

  • Item 1
  • Item 2
    • Sub-item 2.1
    • Sub-item 2.2

Ordered List

  1. First step
  2. Second step
  3. Third step

Code Blocks

function greet(name) {
  console.log(`Hello, ${name}!`);
}

greet('World');

Blockquotes

Knowledge is power. — Francis Bacon

Tables

LanguageTypeFeature
JavaScriptDynamicFlexible
TypeScriptStaticType-safe
RustStaticHigh-performance

Horizontal Rule

Use three or more - to create a horizontal rule:


Task Lists

  • Learn Markdown basics
  • Create first blog post
  • Learn advanced features

Hope this guide helps you!

Comments