Skip to content

Inline Links #869

@raineorshine

Description

@raineorshine

Add support for inline links using double brackets. e.g. [[todo]] should allow the "todo" context view to be transcluded into the hierarchy. This is an important feature to allow migrations from Roam.

  • display with brackets while editing and without brackets while not editing
  • overlay superscript using ThoughtAnnotation
  • context view
    • activating context view when the caret is on the inline link should enable the context view for the inline thought, not the containing thought.

TODO

  • Subthoughts? (normal view)
    • Naturally represented with the inline link as a subthought of the containing thought.
  • Add to thoughtIndex?
    • Needed for bidirectional linking
    • Requires additional logic to add/delete during editing

A good plan should be devised that carefully thinks through the implications of this feature.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions