Link Articles
There are three different ways to link notes:
- use
links
in the note metadata, this will be covered in the current note, - use shortcode
c
to add a hyperlink in the texts, see [[Link to Another Page and Show Hovercard]] Link to Another Page and Show Hovercard Apart from the normal markdown links, e.g., [this link](snm/single-neuron-model) we can also link to other page using the following code. {{< c "tutorials/embed-articles.md" >}} The result will be this: [[Embed Articles]] Embed Articles Embed an article using the shortcode . By hovering on this link, a preview of the summary of the target post. Do not Ignore the Spaces Please make sure the is at least one space between the different components of the shortcode. , - use shortcode
e
to embed another note in the current note, see [[Embed Articles]] Embed Articles Embed an article using the shortcode .
All three methods will generate backlinks for the notes linked to.
Articles can be linked by adding a the reference of the target post to the meta data of the current post, e.g.,
links:
- snm/single-neuron-model.md
- tags/gauss-markov-theorem
The ref of the target post can be
- the path to the markdown file inside the
content
folder, such assnm/single-neuron-model.md
, - the path to the tag page, such as
tags/gauss-markov-theorem
.
If one needs to find the ref of a post, it is found on the right of the content. For example, the following screenshot shows the ref of this article.
Planted:
by KausalFlow;
Dynamic Backlinks to
tutorials/link-articles
: tutorials/link-articles
Links to:
Additional Double Backet Links:
KausalFlow (2021). 'Link Articles', Connectome, 05 April. Available at: https://hugo-connectome.kausalflow.com/tutorials/link-articles/.