-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add deep linking documentation and update argument handling
A new document has been added on how to use deep linking in the application. The application's argument handling has also been updated to replace all instances of "%20" with a space for usability improvement and consistency with deep linking URL formatting.
- Loading branch information
1 parent
048b136
commit 40f03f2
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Deep Linking | ||
|
||
Deep linking is a technique that allows an application to be launched and navigated to a specific location or state using a URL. This is particularly useful for complex | ||
applications where you want to provide shortcuts to specific functionality or content. | ||
|
||
In Wox, deep linking is supported through a specific URL format: `wox://command?param=value¶m2=value2`. This URL format allows you to execute specific commands in Wox with | ||
optional parameters. | ||
|
||
## Supported Commands | ||
|
||
Currently, Wox supports the following command for deep linking: | ||
|
||
### Query | ||
|
||
The `query` command allows you to execute a specific query in Wox. The format for this command is `wox://query?q=your%20query`. The `%20` is a URL-encoded space character, allowing | ||
you to include spaces in your query. | ||
|
||
For example, if you want to execute the query "search files", you would use the URL <a href="wox://query?q=search%20files" target="_blank">wox://query?q=search%20files</a>. | ||
|
||
Please note that deep linking in Wox is case-sensitive, so ensure that your commands and parameters are correctly formatted. |