mirror of
https://github.com/zadam/trilium.git
synced 2026-05-07 03:27:20 +02:00
feat(text): add a copy button to bookmarks
This commit is contained in:
10
docs/User Guide/!!!meta.json
vendored
10
docs/User Guide/!!!meta.json
vendored
@@ -9016,7 +9016,7 @@
|
||||
"dEHYtoWWi8ct"
|
||||
],
|
||||
"title": "Other features",
|
||||
"notePosition": 180,
|
||||
"notePosition": 190,
|
||||
"prefix": null,
|
||||
"isExpanded": false,
|
||||
"type": "text",
|
||||
@@ -9136,7 +9136,7 @@
|
||||
"gLt3vA97tMcp"
|
||||
],
|
||||
"title": "Premium features",
|
||||
"notePosition": 190,
|
||||
"notePosition": 200,
|
||||
"prefix": null,
|
||||
"isExpanded": false,
|
||||
"type": "text",
|
||||
@@ -9459,7 +9459,7 @@
|
||||
"oBo3iHIZnbG2"
|
||||
],
|
||||
"title": "Spell Check",
|
||||
"notePosition": 200,
|
||||
"notePosition": 210,
|
||||
"prefix": null,
|
||||
"isExpanded": false,
|
||||
"type": "text",
|
||||
@@ -9494,7 +9494,7 @@
|
||||
"BFvAtE74rbP6"
|
||||
],
|
||||
"title": "Table of contents",
|
||||
"notePosition": 210,
|
||||
"notePosition": 220,
|
||||
"prefix": null,
|
||||
"isExpanded": false,
|
||||
"type": "text",
|
||||
@@ -9566,7 +9566,7 @@
|
||||
"NdowYOC1GFKS"
|
||||
],
|
||||
"title": "Tables",
|
||||
"notePosition": 220,
|
||||
"notePosition": 230,
|
||||
"prefix": null,
|
||||
"isExpanded": false,
|
||||
"type": "text",
|
||||
|
||||
@@ -20,17 +20,27 @@ This feature was introduced in TriliumNext v0.94.0 and augmented in v0.130.0 to
|
||||
|
||||
Trilium v0.103.0 introduces cross-note Anchors, which makes it possible to create <a class="reference-link" href="Links/Internal%20(reference)%20links.md">Internal (reference) links</a> which point to a specific anchor in that document.
|
||||
|
||||
To do so:
|
||||
### Compatibility with documents from previous versions
|
||||
|
||||
1. First, create a anchor in the target note using the same process as described above.
|
||||
For notes created prior to Trilium v0.103.0, you might notice that the Anchors might not be identified. This limitation is intentional in order not to have to re-process all the notes, looking for anchors.
|
||||
|
||||
To fix this, simply go that note and make any change (e.g. inserting a space), this will trigger the recalculation of the links.
|
||||
|
||||
### Linking to anchors through the _Add link_ dialog
|
||||
|
||||
1. Create an anchor in the target note using the same process as described above.
|
||||
2. In another note, press <kbd>Ctrl</kbd>+<kbd>L</kbd> to insert an internal link. Select the target note containing Anchors.
|
||||
3. If the target note contains Anchors, a section will appear underneath the note selector with the list of Anchors.
|
||||
4. Add the link normally.
|
||||
|
||||
Clicking on a reference link pointing to a anchor will automatically scroll to the desired section.
|
||||
|
||||
### Linking to anchors through the bookmark toolbar
|
||||
|
||||
1. Create an anchor in the target note using the same process as described above.
|
||||
2. Click on the anchor to reveal the anchor's floating toolbar.
|
||||
3. Click on the _Copy anchor reference link_ button.
|
||||
4. Go to the note where to insert the link and press <kbd>Ctrl</kbd>+<kbd>V</kbd>.
|
||||
|
||||
> [!NOTE]
|
||||
> For notes created prior to Trilium v0.103.0, you might notice that the Anchors might not be identified:
|
||||
>
|
||||
> * To fix this, simply go that note and make any change (e.g. inserting a space), this will trigger the recalculation of the links.
|
||||
> * This limitation is intentional in order not to have to re-process all the notes, looking for anchors.
|
||||
> Use this method only to insert <a class="reference-link" href="Links/Internal%20(reference)%20links.md">Internal (reference) links</a> between two documents. To link to an anchor on the same note, use the _Insert link_ dialog (<kbd>Ctrl</kbd>+<kbd>K</kbd>) and select the _Anchors_ item instead.
|
||||
Reference in New Issue
Block a user