Skip to content

Instantly share code, notes, and snippets.

@flowmar
Created February 20, 2024 02:47
Show Gist options
  • Save flowmar/39dcc43459b58cd22d42ceed8b19dc76 to your computer and use it in GitHub Desktop.
Save flowmar/39dcc43459b58cd22d42ceed8b19dc76 to your computer and use it in GitHub Desktop.

Markdown Task Lists in Cacher

The following applies to Markdown files in Cacher. Create a new Markdown file by giving your snippet file a .md extension.

Task lists are lists with checkboxes. They are useful for keeping track of todos and procedures.

Syntax

They are the same as ordinary Markdown lists, except with [ ] (for unchecked items) and [x] or [X] (for checked items) appended after the list item mark (-, * or 1.).

Basic Task List

- [x] Deploy application
- [x] Post to Twitter.
- [ ] Post to blog.
- Non-checkbox item

Gets rendered as:

  • Deploy application
  • Post to Twitter.
  • Post to blog.
  • Non-checkbox item

Ordered Task List

1. [X] Build the app.
2. [X] Market the app.
3. [ ] Profit.

Gets rendered as:

  1. Build the app.
  2. Market the app.
  3. Profit.

Interaction

Cacher Markdown Task Lists can be checked on/off directly from the UI (assuming you have edit permission for the snippet).

Clicking on a checkbox will automatically update the underlying syntax to match the current state.

Where can I use Task Lists?

Task Lists are available for all Markdown-enabled areas in Cacher. This includes:

  • Snippet files created with .md extension
  • Snippet description
  • Comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment