1. Overview
Starting from Metanote version 0.15.0, most hyperlinks functions in org mode are supported.
It should be noted that Metanote only supports opening document links with relative paths, absolute paths and remote document paths, for example, file://ssh:someone@soomewhere:doc/doc.pdf can be recognized, but cannot be opened. Because of the path on the mobile side is different from that on the PC side. This includes setting the attachments dir. If it is an absolute path you may not be able to open attachments.
2. Link Format
Supports standard format, and special characters such as '[' ']' can be automatically escaped when they appear in links, and are fully compatible with org mode.
[[LINK][DESCRIPTION]] [[LINK]]
- Supports <link>
- Supports Plain link
- Link Abbreviations not yet supported.
- Corderef type links can be recognized, but commands such as shell and elisp cannot be executed.
3. Internal Links
4. External Links
Supports the following types link:
- file
- 'file:/home/data/images/a.jpg'
- '/home/data/images/a.jpg'
- 'file:doc/doc.pdf'
- './doc/doc.pdf'
- 'file:test.org'
- 'file:test.org::NNN' (jump to line number)
- 'file:test.org::my target' (jump to dedicated target)
- 'file:projects.org::*headline title' (jump to headline)
- 'file:projects.org::#custom-id' (jump to headline with custom id)
- attachment
- docview
- http/https
5. Store, insert, open and edit links
- Save the link in any internal org file through the edit menu 'Copy link', which can automatically identify dedicated target, #+NAME, headline title, etc.
- After 'Copy link', paste the link anywhere in any internal org file. Internal links or external links can be automatically identified and converted to correct relative paths. Note that they need to be in the same location.
- Insert and edit links directly through the insert panel.
- Click the link to open or edit the link.
6. Attachments ATTACH
- Supports opening, previewing and simple editing of the following attachments:
- iWork and Microsoft Office documents
- Images
- Live Photos
- Text files
- PDFs
- Audio and video files
- The attachment directory can specify multiple types of IDs, but if not specified, only the automatic creation of UUID type IDs is currently supported.
- The attachment directory supports setting the PROPERTY 'dir' or 'ID' separately, or setting it in InBufferSettings.
- Supports directly selecting attachments from the insertion panel. The attachment will be copied to the specified attachment directory. If the attachment directory does not exist, a UUID directory will be automatically created.