# List Splitter A small Obsidian utility plugin for splitting and merging lists in Canvas cards. ## Example ![Split list into cards](assets/example.png) A card containing a bulleted list is split into individual cards, one per item. ## Commands ### Split list into cards Select a Canvas text card containing a bulleted or numbered list and run the command. Each list item becomes its own card, stacked vertically starting at the original card's position. Supported list formats: - Unordered: `- item`, `* item`, `• item` - Ordered: `1. item`, `1) item` List markers are stripped — cards contain plain text only. ### Merge cards into list Select 2 or more Canvas text cards and run the command. 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: ``` /.obsidian/plugins/list-splitter/ ``` Then enable the plugin in **Settings → Community plugins**. ## Development ```bash npm install npm run dev # watch mode npm run build # production build npm run test # run Mocha tests ```