Open Calorion opened 2 years ago
An example of a plugin that does just this sort of thing is https://github.com/mgmeyers/obsidian-embedded-note-titles. That's pretty much exactly what I want, except with (foldable) maps.
Or, even better, actually integrate the map into the metadata section somehow, the way tags are displayed in reading view.
I'm trying to create Evernote-style Note info with help from Leaflet.
What I've been doing so far is using Callouts, like so:
This works, and is even somewhat attractive in reading view, but is also kind of clunky, as it's frontmatter outside of the frontmatter, so to speak, and therefore sometimes doesn't interact with other things well.
What would be even better if a foldable map could be auto-generated on the page based on frontmatter tags. Something like
map: yes
in the frontmatter would indicate to Leaflet that a map should be displayed in that note based on the other info in the frontmatter.This would be an awesome addition to an awesome plugin!