Repository navigation
Releases: zhao414/canvas-smart-paste
Releases · zhao414/canvas-smart-paste
Release list
1.0.5
Full Changelog: 1.0.4...1.0.5
1.0.4
1.0.3
update the plugin name
Full Changelog: 1.0.2...1.0.3
1.0.2
Fixed in this release
- Multi-line LaTeX blocks not closing correctly — When the closing
$$was at the end of a line (e.g.\end{vmatrix}=ad-bc$$), the LaTeX block never exited, causing all subsequent content to be swallowed. Now$$anywhere on the line correctly terminates the block. - Subsequent content swallowed after LaTeX block — Text after a multi-line LaTeX block is now properly split into separate paragraph nodes.
On Lint Issues
createEl("h2")→new Setting().setHeading()to match Obsidian best practicesdocument.createElement→activeDocument.createElement- Added
getSettingDefinitions()for Obsidian 1.13+ settings search - Marked un-awaited Promises with
voidincheckCallback
Full Changelog: 1.0.1...1.0.2
1.0.0
Features
- Single node paste — Paste all clipboard content as one text canvas node
- Heading tree — Parse Markdown headings (# to ######) into a hierarchical node tree with arrow connections
- List tree — Parse bullet (
-) and numbered (1.) lists by indentation into a hierarchical node tree - Smart paste — Auto-detect: headings → heading tree, only lists → list tree, otherwise → paragraphs
- Paragraph paste — Split text by paragraphs into individual nodes; headings become separate parent nodes with child content next to each heading
Settings
- Edge direction — Choose top→bottom or left→right connections
- Create edges — Toggle whether arrows are drawn between nodes
- Keep list numbering — Preserve or strip number prefixes for ordered lists
- Auto-resize nodes — Canvas nodes auto-adjust height to fit content