How do I create a link to another page within an Elements project in the Markdown component, and
How do I create an anchor link to a container (or other element) on another page in an Elements project?
I have looked at this help page, but creating links within an Elements project does not seem to be addressed (and the link option is not available in the Inspector).
Help with the syntax would be greatly appreciated.
A brief scan of the book indicates it is geared towards CMS part of Elements, and not the Markdown component.
In the Markdown component, for example, do I need to put the full URL and the page title to create the link (eg. https://www.domain.com/about.html) or just, for example, “/about.html/”?
You don’t need the full URL in the Markdown component, a relative path works fine for pages within the same project, for example:
[About Me](/about/)
For anchors on another page, include the anchor ID:
[Team Section](/about/#team)
It’s also fine to use the full URL, but that obviously won’t work when previewing locally.
If you want more control or easier internal linking, the Text component in Elements is often the better choice, as it handles project links automatically and gives you more flexibility.
If you know the absolute address then you’d use the following in your Markdown:
\[name to show in Markdown\](site URL).
The deeper question you have here is whether you put an anchor on that other page, and the answer to that would be yes, and it would go into the parenthetical part. @dan produced a video for linking to anchors I believe is still relevant: Advanced | RapidWeaver Elements Docs .
You can wrap it in code markup like this… [name you want user to see in Markdown] followed immediately by (site URL). A bit meta, but this is how to do it…