-
Notifications
You must be signed in to change notification settings - Fork 51
Description
URL Fragment Text Directives are supported in Chrome.
Here is an example of one formatted as markdown (and rendered by github's markdown rendering):
Such links can be created in HTML format using Chrome by following instructions Share or link to quotes & text in Chrome
They can also be created using the CreateLink chrome extension by defining in its options the following link format:
| Name | Format | Filter |
|---|---|---|
| HTML highlighted | <a href="%url%#:~:text=%htmlEscapedText%">%htmlEscapedText%</a> |
With it, the following HTML link is put in the clipboard:
<a href="https://support.google.com/chrome/answer/10256233#:~:text=[create a shareable link](https://support.google.com/chrome/answer/10256233#:~:text=create%20a%20shareable%20link)">create a shareable link</a>
However, the following analogous definition for a "markdown highlighted" link format fails:
| Name | Format | Filter |
|---|---|---|
| markdown highlighted | [%text%](%url%#:~:text=%htmlEscapedText%) |
For some reason, the %htmlEscapedText% variable is percent-encoded in my HTML highlighted format but not my markdown highlighted format where the following incorrect text is placed in the clipboard:
[create a shareable link](https://support.google.com/chrome/answer/10256233#:~:text=create a shareable link)
This issue is possibly related to closed #37