Based on Linkify Plus. Turn plain text URLs into links.
< Feedback on Linkify Plus Plus
Try reading the tech-info for evernote:// links in the oficial website.
Structure
evernote:///view/[userId]/[shardId]/[noteGuid]/[noteGuid]/
Where:
Hi. Thanks for the reply!
Yeah, I get the structure of the evernote links.
I'm just not sure where to add the code in this script to get something like...
evernote:///view/[userId]/[shardId]/[noteGuid]/[noteGuid]/
to linkify.
:///
scheme.evernote:///
protocol at line 260Should we support it officially?
Hi eight! Thanks for the awesome script!
There are two types of links I use (both note-taking apps) that would be amazing to have officially supported.
Evernote, which looks like this...evernote:///
OneNote, which looks like this...onenote:
These might be much more difficult however because the links are complex...onenote:#Books§ion-id={F1580D31-86DD-4975-9169-CBB0C3846D9D}&page-id={39F02142-9AAA-49C6-AD26-E47114E2BB1C}&end&base-path=https://d.docs.live.net/dc516d79aca53670/OneNote/@Home/Tab9.one
Evernote, seems easy.
OneNote, maybe not so easy.
What do you think?
Currently the script is designed to find http URLs without the protocol.
We can make a scheme list, then simply match them without knowing the format of each scheme. That is, every word starting with onenote:
or evernote:///
will be linkified.
Since it doesn't check the format, it may match something like onenote:hello
.
For better r###lts, we need the definition of those schemes, including allowed characters, the max length of each part... etc.
Some schemes from wiki: https://en.wikipedia.org/wiki/Template:URI_schemes
I tried digging into the scheme details. Beyond what's written in this thread about the Evernote scheme I couldn't find any further information.
I think a simple matching scheme would be great. Neither protocol will occor in general writing.
Starting from 7.3.0, LPP supports custom rules.
Try adding these lines:
onenote:\S+
evernote:///\S+
Can someone help me add evernote:/// links to this script?
Hi, Linkify Plus Plus is working awesome. I love it. I'm looking to modify my local version to linkify evernote:/// links. Can anyone help point me in the right direction?
Thanks!