I would like to deep-link to a specific paragraph of one of my articles. To introduce the anchor, I wrapped the first word in the paragraph in a <span id="docol-compression">
. I then added the following in another article:
[docol-compression]: @/bootstrap/miniforth.md#docol-compression
This results in the following error:
Error: Failed to render content of /home/kuba/dev/niedzejkob.p4.team/content/bootstrap/branches/index.md
Reason: Relative link @/bootstrap/miniforth.md#docol-compression not found.
(which, by the way, is only fully displayed during the initial build of a zola serve
command, otherwise only the first, useless line is shown)
However, if I write the link like this:
[docol-compression]: /bootstrap/miniforth/#docol-compression
Then the link does work when I click it in the browser. The error is therefore spurious. Am I introducing my anchor wrong?