Giter Site home page Giter Site logo

Comments (3)

srg-kostyrko avatar srg-kostyrko commented on September 25, 2024

There is a delay (1s) before plugin injects frontmatter - this is to allow templater to inject content with on new note creation enabled. It worked fine when I tested on simple templates. But probably in your case it takes more time than this delay for temaplater to process template.

I plan to add fullfledged support for templater templates (so that templates can be selected in plugin settings) - but this is couple weeks at least till I get to it.

Looks like for now it would be better to disable on new note creation in templater and apply template manually.
Sorry for this inconvenience.

from obsidian-journal.

LemurTech avatar LemurTech commented on September 25, 2024

Hey, thank you for that hint. I found the delay constant FRONTMATTER_ADDING_DELAY in the code and extended it from 800ms to 1500ms. I found that this is working for me, at least for the moment!

from obsidian-journal.

srg-kostyrko avatar srg-kostyrko commented on September 25, 2024

@LemurTech in 1.3.0 templater support was improved so that you can select Templater templates in plugin settings (plugin will use Templater under the hood to process templates)
check https://github.com/srg-kostyrko/obsidian-journal#templater-caveeats on how to adjust setting to avoid problems with templater interfering

from obsidian-journal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.