Skip to content
Discussion options

You must be logged in to vote

Hi,

you need to URL encode all special characters in the value (and space is considered as a special character here). For this particular use-case, you can just replace space with %20, so your url would become obsidian://shell-commands/?vault=Vault&_customvariable=Two%20Words.

To be further on the safe side, you can use some online URL encoder. It's good in case your values happen to contain also other special characters than just spaces. This one seems to be a simple and easy to use URL encoder: https://www.urlencoder.io/ . Just write the value into the text field and it will give you the url encoded version of the value immediately. Note that you should only write the value to the encod…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@profucius
Comment options

@Taitava
Comment options

Answer selected by profucius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants