Markdown Links in Wikantik

Wikantik uses an enhanced CommonMark parser (Flexmark) that supports both standard Markdown links and wiki-style shortcuts.

Internal links should point to a page's slug (CamelCase name) or its canonical_id.

Use double brackets for simple, readable internal links.

Standard [text](url) syntax also works for internal pages.

3. Linking by Canonical ID

For maximum stability across page renames, use the stable ULID.

External links use standard Markdown syntax.

Linking to Attachments

To link to a file attachment on the current page:

Linking to Clusters and Tags

You can link to system-generated lists using special prefixes:

Best Practices

  1. Prefer Slugs over IDs for Humans: Slugs are easier to read and type for human editors.
  2. Use IDs for Automated Tools: When agents or scripts generate links, they should prefer id: links to prevent breakage during future renames.
  3. Avoid Extensions: Never link to .md or .txt files directly (e.g., [Page](Page.md)). Use the slug only.

See Also: