Markdown Tasklist



  1. Checklist Markdown
  2. Vscode Markdown Task List

Task lists Type - or 1. then a space. Adding an x between the square brackets will tick off a task list item in the Preview. IA Writer for Mac and iOS also support clicking or tapping the list item marker to toggle it. Unfinished task list item - x Finished task list item.

  • Markdown is a way to style text on the web. You control the display of the document; formatting words as bold or italic, adding images, and creating lists are just a few of the things we can do with Markdown. Mostly, Markdown is just regular text with a few non-alphabetic characters thrown in, like # or.
  • A task list item is a list item where the first block in it is a paragraph which begins with a task list item marker and at least one whitespace character before any other content. A task list item marker consists of an optional number of spaces, a left bracket, either a whitespace character or the letter x in either lowercase or uppercase,.
Latest version

Released:

Checklist Markdown

Python Markdown extension for task lists with checkboxes

Project description

a Python Markdown extension for lists oftasks with checkboxes

inspired byGitHub task lists:

becomes

  • a dash can be used instead of an asterisk for list items
  • both upper- and lowercase 'x' are accepted to activate checkboxes

Installation

Usage

or

There is also a small JavaScript/jQuery library to make checkboxes interactive:

See included checklists.js for details.

Release historyRelease notifications | RSS feed

0.4.3

0.4.2

0.4.1

0.4.0

0.3.0

0.2.0

Markdown checkbox list

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Markdown Tasklist
Files for markdown-checklist, version 0.4.3
Filename, sizeFile typePython versionUpload dateHashes
Filename, size markdown-checklist-0.4.3.tar.gz (7.3 kB) File type Source Python version None Upload dateHashes
Close

Hashes for markdown-checklist-0.4.3.tar.gz

Hashes for markdown-checklist-0.4.3.tar.gz
AlgorithmHash digest
SHA2564e9e76bfe72e2d1bb8e12c9599b3d23305662b356623d48b52caf351fff3d93f
MD5e300f24f1096beff049586533591d384
BLAKE2-256d434e10d414ece4b231459ce2b27a0112ee5744593f46ca78a915a2ad8309465

Material for MkDocs supports several flavors of lists that cater to different use cases, including unordered lists and ordered lists, which are supported through standard Markdown, as well as definition lists and task lists, which are supported through extensions.

Configuration¶

Definition List¶

Vscode Markdown Task List

Source · Extension

The Definition List extension, which is part of the standard Markdown library, adds the ability to add definitions lists to a document and can be enabled via mkdocs.yml:

Tasklist¶

Source · Extension

The Tasklist extension, which is part of Python Markdown Extensions, adds support for lists with styled checkboxes, and provides several options for configuring the style:

Syntax
custom_checkbox

Default: false · This option toggles the rendering style of checkboxes, replacing native checkbox styles with beautiful icons, and is therefore strongly recommended:

clickable_checkbox

Default: false · This option toggles whether checkboxes are clickable. As the state is not persisted, the use of this option is rather discouraged from a user experience perspective:

Usage¶

Using unordered lists¶

An unordered list can be written by prefixing a line with a -, * or + list marker, all of which can be used interchangeably. Furthermore, all flavors of lists can be nested inside each other.

Example:

Result:

Tasklist
  • Nulla et rhoncus turpis. Mauris ultricies elementum leo. Duis efficitur accumsan nibh eu mattis. Vivamus tempus velit eros, porttitor placerat nibh lacinia sed. Aenean in finibus diam.

    • Duis mollis est eget nibh volutpat, fermentum aliquet dui mollis.
    • Nam vulputate tincidunt fringilla.
    • Nullam dignissim ultrices urna non auctor.

Using ordered lists¶

An ordered list must start with a number immediately followed by a dot. The numbers do not need to be consecutive and can be all set to 1., as they will be re-numbered when rendered.

Example:

Result:

  1. Vivamus id mi enim. Integer id turpis sapien. Ut condimentum lobortis sagittis. Aliquam purus tellus, faucibus eget urna at, iaculis venenatis nulla. Vivamus a pharetra leo.

    1. Vivamus venenatis porttitor tortor sit amet rutrum. Pellentesque aliquet quam enim, eu volutpat urna rutrum a. Nam vehicula nunc mauris, a ultricies libero efficitur sed.

    2. Morbi eget dapibus felis. Vivamus venenatis porttitor tortor sit amet rutrum. Pellentesque aliquet quam enim, eu volutpat urna rutrum a.

      1. Mauris dictum mi lacus
      2. Ut sit amet placerat ante
      3. Suspendisse ac eros arcu

Using definition lists¶

Definition lists are a ideal for describing arbitrary key-value pairs, e.g. the parameters of functions or modules, as used within this documentation to describe extension or plugin parameters.

Example:

Result:

Lorem ipsum dolor sit amet
Sed sagittis eleifend rutrum. Donec vitae suscipit est. Nullam tempus tellus non sem sollicitudin, quis rutrum leo facilisis.
Cras arcu libero

Aliquam metus eros, pretium sed nulla venenatis, faucibus auctor ex. Proin ut eros sed sapien ullamcorper consequat. Nunc ligula ante.

Duis mollis est eget nibh volutpat, fermentum aliquet dui mollis. Nam vulputate tincidunt fringilla. Nullam dignissim ultrices urna non auctor.

Using tasklists¶

When the Tasklist extension is enabled, unordered list items can be prefixed with [ ] to render an unchecked or [x] to render a checked checkbox.

Example:

Result:

  • Lorem ipsum dolor sit amet, consectetur adipiscing elit
  • Vestibulum convallis sit amet nisi a tincidunt
    • In hac habitasse platea dictumst
    • In scelerisque nibh non dolor mollis congue sed et metus
    • Praesent sed risus massa
  • Aenean pretium efficitur erat, donec pharetra, ligula non scelerisque