So with the release of Obsidian Bases and Properties I wanted a quick way to embed and render frontmatter metadata in the note body without using larger plugins. That’s how this was born.
Embed Metadata
To quote the README:
Render frontmatter metadata (Obsidian Properties) inside your notes with a lightweight inline [%key] or {{key}} syntax.
Imagine the Dataview syntax of =this.key but without the massive overhead.
Demo
Features
You can stylize how the variable gets rendered in Live Preview mode
You choose between [%key] or {{key}} syntax
You can migrate your markdown files between the two syntax formats
You can migrate from Dataviews `=this.key` syntax (One way!)
Have it be case-sensitive (default) or insensitive
Links & Installation
At the moment this is a beta release and you’ll need to manually install it via Github release or BRAT. I’ll of course update the thread once the submission has been accepted.
Oh, yes, this is much neater than the Dataview method!
Question: Can it work in headings seen in the Outliner? Dataview’s method will render the text in the note, but the Outliner can’t read it, and I’ve never understood if that’s a technical limitation or a bug. For example:
Mh, interesting problem - I‘m not actually certain this is possible but I can have a look tomorrow. This plugin watches and renders the note body - titles, file tree display etc. are not part of it. Is this what you mean?
My example is from the optional outline one can display in the sidebar. I’m just using the core outline plugin that displays headings from the note in a navigational table of contents.