-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
how to open url with templater #47
Comments
How does your tried uri look like? How should a template get inserted? Inserts Templater templates on file creation or is that a feature of lumberjack plugin? |
thank for your reply. |
I just found out about this issue by trying to use templater with this plugin. And the problem is not just templater per se but because of using I am trying to modifythis js bookmarklet to customize it. This one is using the base uri command and don't have any issue with it, my code is here, if you test it yourself you can see only if you select text that contains % in it it fails to work.
Thanks |
@Archie-2021 What exactly are you trying to do? Do you want to create a file with this as content? |
i was trying to use this script in browser to create a file with the content of variable filecontent in this code, the issue is that anything string with certain characters if get encoded and passed to this plugin is not going to work, |
Could you try encoding it twice using encoder like https://www.urlencoder.io/ So that |
It has been a long time and I forgot the details, but I found out there was also some similar issue with core obsidian uri too (altho I got some issue with this one which core had no issue). I don't think anything getting double encoded in the code above as you can see. For now I am by passing the actual website content/ actual text by sending that via clipboard and just using uri for creating the note and formatting, solving my issue temporarily. But I think there is a lot of more debugging needed both for the core uri and this plugin. Thank you |
Ok I had to modify my scripts so I tried it again. There is no way to send <% %> with this plugin, the core obsidian uri can send the same text that doesn't work with this plugin. Whatever happening with encoding % sign should mess with that too. Now I can't use core uri because I have to append to section and it only possible in this plugin... |
sorry to repeating myself, but any update on this issue? i kinda need this feature in my workflow. it is a huge improvment in automation, opens a lot of possibilities. if only this plugin can handle sending |
I have no problems appending <% %> using obsidian://advanced-uri?vault=Test&filepath=Test.md&data=%253C%2525%2520%2525%253E&mode=append as a link on Android. |
i am on windows not android. my script is a modified version of this script (Obsidian Web Clipper Bookmarklet with full Markdown support for images, headings, and code blocks - Share & showcase - Obsidian Forum) which uses Core ObsidianURI). i can send you the script to kindly test it on your end. all the variables are on the top |
when the file in url is no, the lumberjack of plugin can create new file with templater, ,but advance url only creat a new file without templater , i think your plugin is much better than it maybe I was not be able to find the function, Could you tell how to set it,thanks
The text was updated successfully, but these errors were encountered: