Skip to content

Instantly share code, notes, and snippets.

@vpiotr
Last active July 15, 2024 21:12
Show Gist options
  • Save vpiotr/c4d7be9eace1cf4bc021a618408ceeed to your computer and use it in GitHub Desktop.
Save vpiotr/c4d7be9eace1cf4bc021a618408ceeed to your computer and use it in GitHub Desktop.
Markdown Quickref

Markdown Quickref

Overview

Syntax described here works with Markdown-to-PDF converter available as plugin to VSCode.

Page break

<div style="page-break-after: always"></div>

Images

External

![](https://sample.website.com/assets/abc.png)

Internal (same directory)

- ![task list](task_list.jpeg)

Internal anchors

Define anchor

## <a name="abc123"></a> Some text

Use anchor

- [Anchor description](#abc123)

Automatically generated anchor

## Two Words

Use automatically-generated anchor (in VSCode, anchor is all-lowercase)

- [Two Words](#two-words)

Table-of-contents (TOC)

Use internal anchors as defined above.

- [Anchor description](#abc123)
- [Two Words](#two-words)

Checklist

- [X] Item 1
- [ ] Item 2
- [ ] Item 3

Table

| Column 1             | Column 2                         |
|----------------------|----------------------------------|
| 123                  | 156                              |
| abc                  | def                              |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment