(docs): Fix org-roam-protocol JS Bookmarklet (#508)

This commit is contained in:
Josh English
2020-04-21 22:57:12 -07:00
committed by GitHub
parent dce8c47d6e
commit b5786edb30

View File

@@ -20,7 +20,7 @@ To use this, create a Firefox bookmarklet as follows:
```javascript ```javascript
javascript:location.href = javascript:location.href =
'org-protocol:/roam-ref?template=r&ref=' 'org-protocol://roam-ref?template=r&ref='
+ encodeURIComponent(location.href) + encodeURIComponent(location.href)
+ '&title=' + '&title='
+ encodeURIComponent(document.title) + encodeURIComponent(document.title)