markdown_course

Beginner Markdown Course

Introduction to Markdown

Markdown logo

Markdown was created by John Gruber in 2004 and is a lightweight markup language that allows you to format text using simple syntax. It is commonly used for documentation, README files, blogs, and more.

Why Use Markdown?


Core Markdown References

  1. Daring Fireball – Markdown Project
    • Introduces Markdown as a lightweight markup language for writing web content.
    • Philosophy: readable plain text that converts to valid HTML.
    • Syntax uses intuitive punctuation (e.g., # for headers, * for emphasis).
    • Supports inline HTML for advanced formatting.
    • Free, open-source under BSD-style license.
  2. Daring Fireball – Markdown Basics
    • Quick-start guide with examples of headings, paragraphs, blockquotes, lists, and emphasis.
    • Two header styles: Setext (=== or ---) and ATX (#).
    • Lists: unordered (*, +, -) and ordered (numbers).
    • Emphasis: *italic*, **bold**.
    • Includes link to “Dingus” tool for live conversion.
  3. Markdown Guide Website
    • Comprehensive, beginner-friendly resource.
    • Covers basic syntax (headings, lists, links, images) and extended syntax (tables, footnotes, task lists).
    • Includes cheat sheets and best practices.
    • Open-source, CC BY-SA license.
  4. GitHub Markdown Cheatsheet
    • Quick reference for GitHub Flavored Markdown (GFM).
    • Includes headers, emphasis, lists, links, images, code blocks, tables, and footnotes.
    • Shows syntax and rendered output side by side.
    • Useful for README files and documentation.

GUI Markdown Generators

Typora (Paid, All Platforms) * WYSIWYG live preview (no split pane). * Exports to PDF, Word, HTML. * Supports math, diagrams, tables. * One-time license: $14.99. * Best for writers who want distraction-free editing.

MarkdownPad (Free, Windows) * Real-time HTML preview. * Customizable themes and CSS. * Export to HTML and PDF. * Pro version adds advanced features like tables and auto-save

StackEdit (Free, Online) * Browser-based editor with live preview. * Sync with Google Drive, Dropbox, GitHub. * Supports LaTeX, UML diagrams, and publishing to blogs. * Works offline after initial load.

Markon (Free, Online) * Minimalist, distraction-free Markdown editor. * Focused on simplicity and local editing. * Ideal for quick notes and clean UI.


Extra Mentions

geekflare.com

Basic Markdown Syntax

Headings

Use # for headings. The number of # symbols determines the heading level.

Heading 1

Heading 2

Heading 3

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

Bold and Italics

Lists

Unordered List:

- Item 1
- Item 2
  - Sub-item 1
  - Sub-item 2

Ordered List:

  1. First item
  2. Second item
    1. Sub-item 1
    2. Sub-item 2
1. First item
2. Second item
   1. Sub-item 1
   2. Sub-item 2

Link Text

[Link Text](https://example.com)

Images

![Alt Text](https://example.com/image.jpg)

Code Blocks

Inline Code:

Use backticks for `inline code:` will show: inline code:

Code Blocks:

Instructions: Use triple backticks for code blocks:

```
<html>Hello World</html>
```

Will display this:

<html>Hello World</html>

To show this:

```
<html>Hello World</html>
```

You need to type this:

````markdown
```
<html>Hello World</html>
```
````

Why 4 backticks and “markdown”?

Blockquotes

Use > for blockquotes:

> This is a blockquote.

Horizontal Line

Use three dashes or asterisks:

---

Commenting

In Markdown, there is no official comment syntax, but you can use HTML comments to add comments that will not be displayed in the rendered output.

Markdown Comment Syntax:

<!-- This is a comment in Markdown -->

Since Markdown supports inline HTML, anything inside <!-- --> will be ignored in the output.

Advanced Markdown

Tables

Column 1 Column 2 Column 3
Data 1 Data 2 Data 3
Data 4 Data 5 Data 6
| Column 1 | Column 2 | Column 3 |
|----------|----------|----------|
| Data 1   | Data 2   | Data 3   |
| Data 4   | Data 5   | Data 6   |

Task Lists

- [x] Completed Task
- [ ] Incomplete Task

Escaping Characters

Use \ before special characters:

\*Not Italic\*