mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 02:30:42 +01:00
feat(docs): improve internal links documentation
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 363 B After Width: | Height: | Size: 397 B |
Binary file not shown.
|
Before Width: | Height: | Size: 695 B After Width: | Height: | Size: 363 B |
BIN
src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/3_Links_image.png
generated
Normal file
BIN
src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/3_Links_image.png
generated
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 695 B |
@@ -5,7 +5,7 @@
|
||||
<p>To create a link without a custom text:</p>
|
||||
<ul>
|
||||
<li>Press
|
||||
<img src="1_Links_image.png" width="15" height="16">in the <a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/iPIMuisry3hd/_help_nRhnJkTT8cPs">Formatting toolbar</a>:
|
||||
<img src="2_Links_image.png" width="15" height="16">in the <a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/iPIMuisry3hd/_help_nRhnJkTT8cPs">Formatting toolbar</a>:
|
||||
<ul>
|
||||
<li>A popup will appear, type or paste the URL in the box.</li>
|
||||
<li>Press <kbd>Enter</kbd> or the check mark icon to confirm.</li>
|
||||
@@ -32,31 +32,66 @@
|
||||
<img
|
||||
src="Links_image.png" width="18" height="18"> <em>Edit link</em> button.</li>
|
||||
<li>To remove a link, click on it and press the
|
||||
<img src="2_Links_image.png"
|
||||
<img src="3_Links_image.png"
|
||||
width="18" height="18"> <em>Unlink</em> button.</li>
|
||||
</ul>
|
||||
<p>You can follow external link by either double clicking (will open new
|
||||
tab/window) it or right clicking on them and choosing "Open in new tab".</p>
|
||||
<h2>Internal links to notes</h2>
|
||||
<p>Links to internal notes are created a bit differently. To create link
|
||||
to note at current cursor position, press <kbd>Ctrl</kbd> + <kbd>L</kbd>.</p>
|
||||
<p>In the dialog you can see radio button to choose from different types
|
||||
of linking:</p>
|
||||
<p>Unlike external notes, internal links (links to other notes) can be created
|
||||
at the current position by :</p>
|
||||
<ol>
|
||||
<li>Pressing <kbd>Ctrl</kbd> + <kbd>L</kbd> or the
|
||||
<img src="1_Links_image.png"
|
||||
width="20" height="17">button from the <a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/iPIMuisry3hd/_help_nRhnJkTT8cPs">Formatting toolbar</a>.</li>
|
||||
<li>Filling in the desired note to link. It's also possible to create notes
|
||||
from this dialog by typing a non-existing note title and selecting <em>Create and link child note</em>.</li>
|
||||
</ol>
|
||||
<p>There are two link types, adjustable when creating the link to the note:</p>
|
||||
<ol>
|
||||
<li><em>link title mirrors the note's current title</em>
|
||||
<ol>
|
||||
<li>This is sometimes also called "reference link".</li>
|
||||
<li>Title of such links cannot be changed, instead it is always mirroring
|
||||
the title of linked note.</li>
|
||||
<li>The icon of the note is also displayed.</li>
|
||||
<li>The link title will automatically update if the title of the note is changed.</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li><em>link title can be changed arbitrarily</em>
|
||||
<ol>
|
||||
<li>This is the traditional hyperlink, where the text of the link can be different
|
||||
to the note title.</li>
|
||||
</ol>
|
||||
</li>
|
||||
</ol>
|
||||
<p>Once an internal link is created:</p>
|
||||
<ul>
|
||||
<li>link title mirrors the note's current title - this is sometimes also called
|
||||
"reference link". Title of such links cannot be changed, instead it is
|
||||
always mirroring the title of linked note. This way the link title is never
|
||||
outdated</li>
|
||||
<li>link title can be changed arbitrarily - this is the traditional hyperlink
|
||||
- you link to a particular note and can choose the link title</li>
|
||||
<li>You can follow the note link by double clicking it.</li>
|
||||
<li>Alternatively if you only wish to quickly preview the content, you can
|
||||
hover over the link and will see read only preview.</li>
|
||||
</ul>
|
||||
<p>
|
||||
<img src="Links_create-link-to-note.gif">
|
||||
</p>
|
||||
<p>You can follow the note link by double clicking it.</p>
|
||||
<p>Alternatively if you only wish to quickly preview the content, you can
|
||||
hover over the link and will see read only preview.</p>
|
||||
<h3>In-place linking</h3>
|
||||
<h2>Pasting links</h2>
|
||||
<ul>
|
||||
<li>For internal links (links to notes in Trilium), press Ctrl+C in the
|
||||
<a
|
||||
class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/_help_oPVyFC7WL2Lp">Note Tree</a>:
|
||||
<ul>
|
||||
<li>Pasting directly in a text note will create a reference link (with an
|
||||
icon to the note and the actual note title).</li>
|
||||
<li>Pasting over an existing text will create a traditional link.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>For external links:
|
||||
<ul>
|
||||
<li>Paste the raw URL directly and press space to turn it into a link.</li>
|
||||
<li>Select a text and paste the URL over it to turn that text into a link.</li>
|
||||
<li>If you are pasting a formatted link (e.g. from the a webpage in a browser),
|
||||
simply paste it and it will keep the original text and URL.</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2>In-place linking</h2>
|
||||
<p>Trilium also provides "inline" linking - type <code>@</code> and you'll
|
||||
see an autocomplete, just type few characters from the desired note title,
|
||||
press enter and you have a link.</p>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 MiB |
Reference in New Issue
Block a user