Plugin: CanvasNote

A Obsidian plugin that I made for myself that maybe someone will find useful.
It converts Canvas to a markdown note with round-trip metadata, layout, and edges.

Features

- Canvas → Note (structure-preserving)

- Note → Canvas (structure-preserving)

- Round-trip metadata via HTML comments

- Layout: grid / mindmap / none

- Edge generation: wikilinks, heading/list, tags, explicit metadata

- Group bounding boxes

- New notes without meta: stacked in Markdown order, heading sections merged, lists become one node, horizontal rules ignored

- File embeds (images, PDF, audio, video, other files) via `![[…]]`

- Web links become their own cards if the line contains only a URL or a single markdown link

Commands

- **Convert canvas to note** (requires active .canvas)

- **Convert note to canvas** (requires active .md)

Also available in the right click menu.

Metadata format

```html

```

Settings

- layoutMode: grid | mindmap | none

- gridColumns: number

- preservePositions: boolean

- generateEdges: boolean

- headingGroups: boolean

- roundTripMetadata: boolean

Behavior for new notes (without metadata)

- Nodes are stacked vertically in Markdown order regardless of layout mode

- Headings + content are merged into one node per section

- Lists are collected into a single node (not one node per item)

Oops. I seemed to have forgotten the link.

I don’t use canvas files yet, but what would be the advantage of having my canvas note as a .md file as well ? Searching ?

I´m a writer and planning in Canvas is great. Being able to quickly turn that into a md file for further work is something that I needed. Maybe someone else will find it useful too.