Skip to content
 
 

Repository files navigation

List2Canvas

Convert lists in Markdown notes into Canvas cards.

Create canvas from list

Open a Markdown note containing a bulleted or numbered list and run Create canvas from list. The plugin creates a new Canvas file next to the note and opens it. Each list item becomes a plain-text card.

Nested list indentation is preserved. Child cards are placed in columns to the right of their parents and connected with directional Canvas arrows.

The source note is not changed. The canvas uses the note's filename, such as Shopping list.mdShopping list.canvas. If that filename already exists, a numbered filename is used instead.

Supported list formats:

  • Unordered: - item, * item, • item
  • Ordered: 1. item, 1) item

List markers are stripped, and non-list lines are ignored.

Merge cards into single card

Select 2 or more Canvas text cards and run Merge cards into single card. The cards are combined into a single bulleted list card placed at the top-left card's position. Cards are ordered top-to-bottom, then left-to-right.

Keybindings are configurable in Settings → Hotkeys.

Installation

Copy main.js and manifest.json to your vault:

<vault>/.obsidian/plugins/list2canvas/

Then enable the plugin in Settings → Community plugins.

Development

npm install
npm run dev     # watch mode
npm run build   # production build
npm run test    # run Mocha tests

About

Turn Markdown lists into structured Obsidian Canvas cards.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages