Obsidian-Hover-Annotations | 中文
✅ Select to Annotate | Hover to View | Immersive Reading | Plain Text Storage
✅ Markdown Rich Text Rendering | Multi-Color System | Mobile Support
✅ Obsidian Plugin | Cross-Platform (Desktop/Mobile) | Local First
The plugin is called Hover Annotations: It allows you to automatically hide annotation content after insertion and instantly display it upon mouse hover within Obsidian. At the same time, it maintains the plain text compatibility and secure local storage of Markdown files.
| Feature | Description |
|---|---|
| ⚡ Quick Annotation | Select text and use commands to add notes instantly. |
| 🗨️ Hover Display | Mouse over annotated text to see the note in a native-styled, animated tooltip. |
| 👓 Immersive Editing | Automatically hides verbose HTML tags (<span...>) in Edit Mode, showing only an underline; source reveals on cursor hover. |
| 🎨 Colorful Annotations | Supports 8 colors (Red, Blue, etc.) with a visual picker and right-click preview. |
| 📝 Markdown Support | Tooltips perfectly render Markdown Tables, bold, italics, links, code blocks, etc. |
| 📱 Mobile Support | Click on annotated text on mobile devices to view the note. |
| 🚀 Efficiency | Bind hotkeys to specific colors; toggle visibility of all annotations for clean reading. |
| 🛡️ Data Safety | Annotations are stored as standard HTML <span> tags; safe even if the plugin is uninstalled. |
| 🔧 Auto-Repair | One-click fix for legacy data-note formatting issues. |
The plugin has been submitted to the official store and is currently under review (estimated ~1 month). Once approved, you will be able to install it via:
- Open Obsidian Settings > Community plugins.
- Turn on Restricted mode (disable Safe Mode).
- Click Browse and search for "Hover Annotations".
- Click Install and then Enable.
Since the plugin is not yet in the community store, BRAT is the recommended way to install and auto-update.
- Install BRAT from the Community Plugins.
- Open BRAT settings.
- Click "Add Better Obsidian plugin".
- Enter
MaxMiksa/Obsidian-Hover-Annotations. - Click "Add Plugin".
- Download the latest release (
main.js,manifest.json,styles.css) from the Releases page. - Navigate to your Obsidian vault folder:
.obsidian/plugins/. - Create a folder named
hover-annotations. - Paste the downloaded files into this folder.
- Reload Obsidian and enable the plugin.
🚀 Future Roadmap
- 1. UI/UX Improvement (Completed 2025-11-20)
- Context Menu Integration: Right-click on selected text to quickly add an annotation via
EditorMenu.
- 2. Interaction & Safety (Completed 2025-12-09)
- Multi-line Annotations: Cross-line selections stay hidden/highlighted correctly and support hover/edit/delete.
- Input Flow: Enter submits the annotation; Shift+Enter inserts a newline.
- Tooltip Behavior: Tooltip auto-hides on mouse click or any key press.
- 3. Sidebar View
- Develop a sidebar panel that lists all annotations in the current document.
- Clicking an annotation in the sidebar automatically scrolls the editor to the corresponding location (similar to the Review pane in Word).
- 4. Multi-Color Annotations (Completed 2025-11-20)
- Allow users to select different annotation colors (e.g., Red for questions, Green for ideas, Yellow for tasks) directly in the popup.
- Implementation: Adds different classes to the HTML, such as
class="ob-comment red".
- 5. Icon Mode (Completed 2025-11-20)
- Add a setting switch: choose between "Underline Mode" or "End-of-Text Icon Mode."
- In Icon Mode, use CSS
::afterpseudo-element to place a symbol like📝after the text; the annotation content displays when hovering over the icon.
- 6. Export and Summary (On Hold)
- Annotation Summary: Add a function to extract all annotations from the current document at once, generating a new Markdown list (including: Original Text, Annotation Content, Location Link). This is highly useful for reading notes.
Welcome to submit Issues and Pull Requests! Any questions or suggestions? Please contact Zheyuan (Max) Kong (Carnegie Mellon University, Pittsburgh, PA).
Zheyuan (Max) Kong: kongzheyuan@outlook.com | zheyuank@andrew.cmu.edu


