Floating Highlights
approvedby Karthik S Raju
Adding animations to focus more on the highlights as you scroll down while in reading mode.
Obsidian Float
This plugin enhances Obsidian reading mode by animating highlighted content as it enters the viewport, so attention stays on important text while scrolling.
Features
- Supports animated float effects for:
- Highlights (
==text==/<mark>) - Bold (
**text**/<strong>) - Italic (
*text*/<em>)
- Highlights (
- Per-tag controls:
- Enable/disable animation per tag type
- Independent scale amount per tag type
- Global controls:
- Animation duration
- Background opacity dimming for non-highlighted content
- Animate word only (instead of full container block)
- Animate bold/italic inside highlight blocks
- Scroll performance improvements:
- Transform-only highlight transition for smoother scrolling
- Ultra-smooth scrolling behaviour that temporarily removes shadow while actively scrolling, then restores it when scrolling stops
Usage
- Use Obsidian's built-in highlight syntax to mark text:
==your highlighted text== - (Optional) In plugin settings, enable bold/italic animations and tune scale/duration
- Switch to Reading mode (the plugin does not work in Live Preview or Source mode)
- Scroll through your note — configured elements animate into focus as they enter the viewport
Note: By default, the entire container block (paragraph, list item, heading, etc.) is animated. Enable Animate word only in settings to animate just the matched word/inline element.
Settings Overview
- Global:
Animation durationBackground opacityAnimate word onlyAnimate bold/italic inside highlights
- Per tag (Highlights, Bold, Italic):
Enable ... float... scale amount
Demo
https://github.com/user-attachments/assets/f2d16605-17cb-42e2-aa62-fe7204d5af16
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.