Canvas: Add Frontmatter to canvas files

Use case or problem

I think having frontmatter values in canvas files just as in the normal .md ones could be a really powerfull feature allowing us to combine our visual thinking with incredible plugins as Datawiew, Spaced Repetition or the core Search plugin.
As the quantity of .canvas files increases this need of metadata will become more evident just as in any actual Obsidian Workflow

Proposed solution

I wish it could exist a section in the side bar of the canvas plugin with an option to add metadata information

Current workaround (optional)

Related feature requests (optional)


So much this - i really wonder why this isnt requested more often.
Once you start using this more and more, and the number of canvas-files keep growing, you quickly realize that linking to a canvas isnt enough.
Frontmatter is the best way to keep it in line with the rest of the workflows.

So a big +1 from me!!!

Related: Tags in Canvas files: Allow tags for a canvas - #4 by ButteredBread

I wonder. These could possibly be combined. Because I imagine if this was implemented, the area where any tags or metadata would go would be the same area.

  • 1 for this feature, definitely necessary for proper integration with note systems build around it!

I vote for this too. I use dataview to make tables of my pages by various topics, but canvases get lost. The idea of adding metadata is a must have.

1 Like

+1 this is essential so canvas files can be used with dataview… and obsidian without dataview… well, it’s not really obsidian

1 Like

Since tags are just one specific frontmatter entry for metadata, I believe there has to be a frontmatter support for canvas first, before there even can be a tag support for canvas.

The Canvas files are JSON Files with data about nodes, edes and texts. Adding another key:object element should be straight forward. I guess the parsing the additional data (it is JSON and not the regular frontmatter stuff) is the effort here…