ces3001
ces3001
I found the culprit: I had the following code earlier in the template: ``` - [[Dreams/
> This will classify as a user error unfortunately. Glad to hear you were able to figure it out though! That may be by-letter-of-law true, but there is some assumptions...
The bug I’m referring to isn’t the first incomplete `tp.date.now` syntax user error in my example, but the _subsequent_ render errors produced by `tp.date.now` when there was an earlier incomplete...
Sorry for the delay in responding. Indeed the syntax error of the missing `)` existed. That syntax error _caused_ a further error in rendering down the line in subsequent `tp.date.now`...
> @ces3001 I'll look at this bug but if you're running on Ventura, you can skip using osxphoto's detected text feature and just access the text that Photos has already...
I can confirm this bug in Obsidian v1.5.3 macOS. Hopefully somebody can look into it if developer isn’t maintaining! I agree it’s a game-changer plug-in! Thank you deathau!
ps. replacing the last line with ``` let v = "{{VALUE}}"; return `[${v}](${convertPhoneNumberToLink(v)})`; ``` Still gives the wrong result. `[+1-800-CALL-APPL](tel:+182583)` it doesn’t change the bug.
Please excuse the multiple follow-ups. It seems to me that QuickAdd isn’t replacing the `{{VALUE}}` string in the code _before_ the execution of the javascript, but only replacing it _after_...
+1 and for Capture Format as well. This will allow manipulation of the selected text.
QuickAdd might not, but Meta Bind has such a command: Cmd/Ctrl-P to open the command palette: `Meta Bind: Select and Copy Command ID` aka `obsidian-meta-bind-plugin:copy-command-id`