Markdown: Markdown Quick Start and Editor Selection

You don't need any complex software — any text editor can write Markdown, but the right editor doubles your productivity.

1. What You'll Learn


2. A Beginner's Real Story

(1) Pain Point: Didn't Know Which Software to Use

Marie wanted to learn Markdown. She downloaded three editors to try them out, and each had a completely different interface: one showed plain text, one showed live formatting, and another looked like a code editor. She spent two days comparing tools without writing a single word.

(2) Solution: Pick an Editor and Just Start Writing

A colleague suggested: "Start with VS Code, install a Markdown extension, and write while previewing." Marie spent 10 minutes setting it up, then opened a .md file and started writing. When she saw her typing on the left and the beautifully rendered output appearing on the right in real time, she immediately understood the appeal of Markdown. On her first day, she wrote three technical notes.


3. Types of Markdown Editors

Markdown editors fall into three categories, each suited to different users:

100%
graph TB
    A[Markdown Editors] --> B[Plain-Text Editors]
    A --> C[Dedicated Editors]
    A --> D[Online Editors]
    B --> E[VS Code / Sublime Text]
    C --> F[Typora / Obsidian]
    D --> G[StackEdit / Jianshu]
Category Examples Best For Characteristics
Plain-text editor VS Code, Sublime Text, Notepad++ Developers Lightweight, extensible, needs plugin for preview
Dedicated editor Typora, Obsidian, iA Writer Writers, note-takers WYSIWYG, distraction-free writing
Online editor StackEdit, HackMD, Jianshu Collaboration No installation, multi-user editing

(1) VS Code — The Developer's First Choice

VS Code is the most popular code editor today, and with extensions, it becomes a powerful Markdown editor:

MARKDOWN
Recommended extensions:
- Markdown All in One (shortcuts, table of contents, auto-formatting)
- Markdown Preview Enhanced (enhanced preview)
- Paste Image (auto-saves pasted images)
💡 Tip: VS Code has a built-in Markdown preview — press Ctrl+Shift+P and type "Markdown: Open Preview".

▶ Example: Three Editors Opening the Same Markdown File

TEXT 📖 Display only
VS Code: Source on the left + live preview on the right (split view)
Typora: WYSIWYG, no split view (source hidden)
Notepad: Plain text, no formatting (source only)

Understanding how different editors work helps you choose the right writing tool for your needs.

(2) Typora — The Elegant WYSIWYG Choice

What makes Typora unique is the lack of split panes — you write directly in a single interface where formatting renders live. # headings immediately become large and bold, and *italic* text instantly becomes italic.

MARKDOWN
# In Typora
Type # Heading → heading immediately becomes large and bold
Type **bold** → text instantly turns bold
Type --- → a divider line appears immediately
💡 Tip: Typora is a paid app ($14.99 one-time purchase), but it offers a free trial. Obsidian is a free alternative with equally powerful features.


4. Creating Your First Markdown File

(1) Creating a New File

The simplest way to create a .md file:

BASH
# In the terminal
touch my-first-doc.md

# Or in VS Code:
# File → New File → Save with .md extension

▶ Example: Embedding a Python Code Block in Markdown

MARKDOWN
## My First Code Block

\`\`\`python
print("Hello, Markdown!")
\`\`\`

▶ Example: Previewing Markdown in VS Code

MARKDOWN
Press `Ctrl+K V` to open side-by-side preview
Press `Ctrl+Shift+V` to open full-screen preview

Left pane: write Markdown source
Right pane: see rendered output in real time

5. Markdown Workflow

(1) Local Workflow

100%
graph LR
    A[Create .md file] --> B[Write in editor]
    B --> C[Check with live preview]
    C --> D{Content looks good?}
    D -->|Yes| E[Save / commit to Git]
    D -->|No| B
    E --> F[Convert / publish]

(2) Common Workflows

Scenario Toolchain Description
Writing technical docs VS Code + Git + GitHub Write locally, auto-rendered after commit
Writing a blog Typora + Hugo / Hexo Write locally, build into a static site
Taking notes Obsidian + cloud sync Local storage, sync across devices
Team collaboration HackMD + Slack Real-time online co-editing

▶ Example: A Complete Writing Workflow With VS Code

MARKDOWN
1. Open VS Code, create `note.md`
2. Write the title and body
3. Press Ctrl+Shift+V to open the preview
4. Edit until satisfied
5. Ctrl+S to save the file
6. Commit to GitHub with git
💡 Tip: This is not just a Markdown workflow — it's the standard workflow for most technical writers. Master it and you'll produce content efficiently.


6. Full Example: From Zero to Publishing a Markdown Note

TEXT 📖 Display only
Note title: [Notes] CSS Flexbox Layout

Core concept: Flexbox is a one-dimensional layout model

Common properties cheatsheet:
  display → flex
  justify-content → center, space-between
  align-items → center, stretch

Sample code:
  .container { display: flex; justify-content: center; }

Reference: MDN Flexbox Guide

Expected result: A well-structured technical note with concepts, a property cheatsheet, code examples, and reference links.


❓ FAQ

Q Can I write Markdown in Notepad?
A Yes, but not recommended. Notepad has no syntax highlighting or preview, making it easy to get formatting wrong. Use at least VS Code or Notepad++.
Q How do I convert an .md file to PDF?
A Use the Markdown PDF extension in VS Code, or Typora's File → Export → PDF. For advanced use: pandoc file.md -o file.pdf.
Q Can I write Markdown on mobile?
A Yes. For iOS, try 1Writer or Working Copy; for Android, Markor or Neutron Code. Writing Markdown on mobile is great for quickly jotting down ideas.
Q How should I name Markdown files?
A Use all lowercase with hyphens, e.g., my-first-doc.md. Avoid spaces and non-ASCII characters in filenames (better URL compatibility).
Q Typora or Obsidian — which one should I pick?
A Pick Typora for a clean, elegant writing experience (WYSIWYG). Pick Obsidian (free) if you need knowledge management, bidirectional links, and a graph view.

📖 Summary


📝 Exercises

  1. Beginner: In VS Code, create a hello-markdown.md file. Write an H1 heading, an H2 heading, a paragraph, and a code block. Then press Ctrl+Shift+V to preview the result.

  2. Intermediate: Compare VS Code with Markdown Preview Enhanced against Obsidian. Write a short note in each and explain which tool you prefer and why.

  3. Challenge: Install the Typora trial or use StackEdit (online). Write a Markdown article that includes images and links, then export it as both PDF and HTML to verify the formatting is consistent.

Web-Tutorial.com

Web-Tutorial Tech Team

A team of developers maintaining programming tutorials. Each tutorial is written and reviewed by developers with expertise in that field. We work to keep our content accurate and reliable — if you spot an issue, please let us know.

100%

🙏 帮我们做得更好

我们是刚上线的编程教程站,几个人的小团队,精力有限。页面虽经检查,难免还有疏漏——链接失效、排版错乱、内容有误、语言生硬……

如果您发现了,麻烦告诉我们,我们会在收到反馈后第一时间进行修复,再次感谢您的光临 🙏