Skip to main content
Star us on GitHub Star

Cross-references

Per the NetFoundry style guide, internal links should use relative paths, not @site/ or absolute /docs/.... This page exercises every link form.

Tab group samples

Tables

Admonitions sampler

Code blocks -- diff block

Typography -- heading levels

Jump to the bottom.

Jump to a sibling section.

Sibling section

You jumped here from the in-page anchor above.

Open the logo SVG

Anti-patterns (do not do these)

The style guide forbids these forms even though they may technically work:

  • [link](@site/docs/foo.mdx) -- uses the @site alias instead of a relative path.
  • [link](/docs/foo) -- absolute path; breaks if baseUrl or the docs route changes.

Use ./foo.mdx or ../section/foo.mdx instead.

When inline code is the link text, it should inherit the link color (set in layout.css via a code { color: inherit }):

--verbose -- inline code inside a link.

Last section

You can jump back to the top of the page.