- Get MarkdownView Edittor Selection
- Register Editor menu item
- Function to add highlighter wrap to the editor selection
- Add CSS to display highlighter on the PreviewView
- Store selection content and position for fast navigation
- How Obsidian render markdown to html ?
- use css class to decor reader-mode UI
- remove old highlight and cmt when the text is move
I implement my plugin base on 2 repos below they are tremendously helpful if you need to start developing from some where.