welpdx

Results 85 comments of welpdx

That is a good request! I have thought about this but I totally forgot about it. After a bit of fiddling, this is what worked for me: 1) You can...

Hey @fmbarina, it is not demanding at all. In fact, I think that user feedback and user requests is what makes obsidian, templater, and softwares in general, better. And thank...

What I did is create a class and export the class in the .js file. Then, in templater, I create a new class, and refer to functions from that class....

@dainbrump, no problem! 😃 That was a really good question too! I haven't even touched the Templater User Script settings because I, too, thought you could only export one js...

### I understand, but it's natural I identify with you. Debugging sometimes takes hours, and the mistake could be something really minor! I think that is the nature of debugging...

Please see #670. The code snippet below seemed to work if added at the end of your template: ```js ``` Demo and explanation If the current active leaf == the...

@diale13 can you tell me exactly what steps you took that ended up with this problem? Is it the same steps as the op? (i.e., focus is on the file...

@diale13 until this issue is resolved, please just add this script to the end of your template ```js ``` ![img](https://i.imgur.com/Em8b8mU.gif) The alternative to completely closing obsidian is to just `Reload`...

In the meantime, in addition to `tp.config.target_file.basename` we can use `this.app.workspace.getActiveFile().basename` (Obsidian API) to get the current file title.

The documentation starts with a file that already has frontmatter. Then, the `tp.frontmatter` is applied. In other words, `tp.frontmatter` only works if the document already has pre-existing frontmatter to work...