Inline Text Links
Best for: Passing references, citations, or glossary terms woven directly into the narrative of a paragraph.
Example: “For more details, review our Grammar & Mechanics standards.”
Creating an interconnected, intuitive documentation site requires thoughtful internal linking. However, memorizing exact URL paths, handling relative directory traversal, and managing tab target behaviors can be tedious.
Our Sveltia CMS features a Custom Link Dialog that turns linking into an effortless, searchable experience.
You can trigger the link dialog in two ways:
Cmd+K (macOS) or Ctrl+K (Windows/Linux).When the dialog opens, it features an enhanced Pick from Existing Articles section placed directly above the standard URL input:
/guides/word-list/) and fills in the Text field if no text was pre-highlighted.Understanding the difference between internal and external links helps preserve a smooth user experience:
Links pointing to other pages within our masterclass.
/philosophy/tech-stack/).https://docs.timothyjohnsonwrites.com/philosophy/tech-stack/. If the site domain changes or you are testing in a PR preview, hardcoded domains will break navigation!Links pointing to third-party documentation, GitHub repos, or external tools.
https://docs.astro.build/).rel="noopener noreferrer" to external links to prevent reverse tabnabbing security exploits.In standard Markdown, there is no native syntax for specifying target="_blank". Historically, writers had to insert raw HTML (<a href="..." target="_blank">) to open a tab.
Our system solves this elegantly:
#_blank).target="_blank", and secures the link with rel="noopener noreferrer".#_self, and the script ensures it stays in the active window.When should you use an inline hyperlink versus a visual <LinkCard> block?
Inline Text Links
Best for: Passing references, citations, or glossary terms woven directly into the narrative of a paragraph.
Example: “For more details, review our Grammar & Mechanics standards.”
Starlight Link Cards
Best for: Prominent “Next Steps”, recommended reading, or high-visibility calls to action at the end of a guide.
Example: Drop a <LinkCard> to highlight the next logical guide in the learning path.
Cmd+K or click the Link icon.automation.Quality Automation (CI/CD) from the dropdown./automation/ci-cd-pipelines/ is automatically populated.