Skip to content

Definition hyperlinks in text #211

Description

@oobagi

Summary

Allow referencing definition terms inline within text content using a hyperlink-like syntax (e.g., [[API]] or similar). Referenced terms should be visually highlighted/underlined in the rendered output.

Behavior

  • In edit mode: the reference syntax is visible as typed
  • In view mode: the term renders as underlined/highlighted text
  • Clicking a definition reference in view mode opens a modal popup showing the term and its definition inline — similar to the embed sheet but smaller/lighter
  • Only terms that exist as Definition List blocks in the current note should resolve; unresolved references render as plain text or with a "not found" indicator

Motivation

Definitions are already first-class blocks, but there's no way to reference them from other parts of the note. This creates a lightweight knowledge-linking system within a single note.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions