Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline Links #869

Open
raineorshine opened this issue Sep 15, 2020 · 0 comments
Open

Inline Links #869

raineorshine opened this issue Sep 15, 2020 · 0 comments
Labels
design-needed feature New feature or request

Comments

@raineorshine
Copy link
Contributor

raineorshine commented Sep 15, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design-needed feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant