Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use of (existing) templates as literaturenote #251

Open
DaDirnbocher opened this issue Oct 29, 2023 · 4 comments
Open

use of (existing) templates as literaturenote #251

DaDirnbocher opened this issue Oct 29, 2023 · 4 comments

Comments

@DaDirnbocher
Copy link

DaDirnbocher commented Oct 29, 2023

Describe the solution you'd like
Instead of defining the structure of the literature note template in the settings ...

grafik

... it would be nice if someone could define the name of an (existing) template-note in Obsidian. The plugin should use this template then and replace the used variables.

@drnikki
Copy link

drnikki commented Feb 21, 2024

Adding on to this - the templating doesn't work with the latest version of obsidian's property feature. I'm commenting as a support to this bug and as a reminder to myself to see if I can fix this. :)

@vtoborek
Copy link

Adding on to this - the templating doesn't work with the latest version of obsidian's property feature. I'm commenting as a support to this bug and as a reminder to myself to see if I can fix this. :)

not sure whether this belongs here or into a new issue: for me, old notes were beautifully transformed with obsidian's property feature, but the templating doesn't work anymore for new notes. May be related to a hiccup where obsidian decided to remove all my plugins a couple of weeks ago, but I'd love to hear your opinions.

Old notes still look like this:
Bildschirmfoto 2024-04-26 um 15 39 51

New notes will look like this:
Bildschirmfoto 2024-04-26 um 15 40 00

@orionpilot
Copy link

@vtoborek the new note you show has a problem. The ":" in the title is an invalid character in properties/YAML. The properties don't display as expected because of this error. In your template, try using "{{title}}" instead to get around this (and add "" around the title in this note) The template fills in properly for me with Obsidian properties. If this happens in a new note where there isn't this error, that's another story.

@vtoborek
Copy link

@orionpilot oh my.. thank you, I didn't notice! that was an easy fix (:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants