Fancy markdown / document editor -
Open
joepio
opened this issue 1 year ago
•
0 comments
Must-have Features
- [ ] Add
Commit operations for text insertions (real-time collaborative sync)
- [ ] Implement in JS
- [ ] Implement in Rust (server)
- [ ] Make it compatible with codemirror
- [ ] Render Atomic Resources as inline components. Use
[[ syntax like Obsidian.
- [ ] Allow markdown-like syntax to do formatting (e.g.
## Heading 2) and preview the style
Cool ideas
- [ ] Linkifier
- [ ] Mentions
- [ ] Custom components
- [ ] Slash commands? Not present in Obsidian
Approaches
Codemirror + Markdown
- Use codemirror, because:
- It's reliable, popular, battle-tested
- Is plaintext
- Allows for collaboration
- Use markdown because
- It's simple to read and understand
- It is highly interoperable
TipTap
- Has nice notion-style editor
- No native markdown support, but import / export possible using plugin
- Built on Prosemirror
- Can sync, but unclear how / if this can be made to comply with Commits