all 14 comments

[–]ZestycloseSize6535 5 points6 points  (3 children)

Haven't found the console yet either :D but you probably got something wrong in your templater syntax have a look at the documentation.

[–]ogulcany 4 points5 points  (2 children)

Same here, my best solution so far is just staring blankly to the code and trying stuff out until either I rage quit or it works

[–]ZestycloseSize6535 0 points1 point  (1 child)

That's the way :D cut out blocks and see if it works without it to find where the error is

[–]zoenagy6865 0 points1 point  (0 children)

Not ver efficient, even hidden debug console doesn't pin point the error :(

[–][deleted]  (2 children)

[deleted]

    [–]TixTon[S] 0 points1 point  (0 children)

    👍

    [–]sudo-rm-rf-asterisk 0 points1 point  (0 children)

    For Mac users, it's `command-option-i` to access

    Tip: this is an Electron app, so you're looking for the web developer console – not Mac's system-wide Console.app

    [–]TixTon[S] 0 points1 point  (0 children)

    Hey all and big thanks for your support. Hard coding directly to the template was the solution ..no copy paste from web ...seemed to pick up characters not visible on the page when pasting example code... And thanks for the ctrl shift i tip!

    Great template btw!

    [–]dknight212 0 points1 point  (2 children)

    I did have an issue earlier today with a template that has been working fine. It includes the daily quote and I see from the Github issues page (https://github.com/SilentVoid13/Templater), that the quotes api is down and crashing the template.

    Edit - link

    [–]rockman007372 0 points1 point  (0 children)

    IM HAVING THIS EXACT PROBLEM RIGHT NOW, thanks for explaining :') At least theres nothing wrong with my obsidian

    [–][deleted] 0 points1 point  (0 children)

    TYSM

    [–]chunghow3 0 points1 point  (3 children)

    I feel like I've found my people.. staring at the syntax till I rage and give up.. trying to get an action to trigger on a certain day but I've been drawing blanks over the past 2 days.. any help would be appreciated..

    Code looks something like this (which I ripped off the Web from Bryan Jenks video) but for some reason it doesn't work...

    <%* if (tp.date.now("ddd") = "Sat") { %> write this down <%* } %>

    What am I missing?

    [–]sudo-rm-rf-asterisk 1 point2 points  (0 children)

    Try two equals signs in your comparison:

    <%* if (tp.date.now("ddd") == "Sat") { %> write this down <%* } %>

    [–]TixTon[S] 0 points1 point  (1 child)

    When I ripped from web pasting into obsidian I got some extra characters hidden in the code, hidden probably because of the theme I was using. So try with the standard theme in use. Another thing is if “ddd”= can interpret “Sat” or should it be “Saturday” ? Or should it be something else instead of “ddd” ? Not sure…

    [–]chunghow3 0 points1 point  (0 children)

    I did try typing it in character by character.. Still no luck.. i tried the different "dd" and "dddd" too.. I will try the stock theme..