A plugin for obsidian to focus on a specific paragraph in Reading mode.
- Focus on a specific heading and its children when clicking on them.
- Start from v1.2.0. You can also focus on a specific paragraph by changing the setting
Content Behavior
toOnly Focus the Element
. - Start from v1.2.0. You can focus by clicking the children of a heading.
- If you don't want to change your focus state when selecting the text, you can make the value of
Focus Sensitivity
smaller.
- Start from v1.2.0. You can also focus on a specific paragraph by changing the setting
- The plugin is now available in the community plugins list! You can download the plugin directly through Obsidian's
Settings > Community plugins
Tab.- You can also install with BRAT, with the repository name
nagi1999a/obsidian-focus-plugin
.
- You can also install with BRAT, with the repository name
- Enable the plugin named
Focus and Highlight
in Obsidian'sSettings > Community plugins
Tab.
Once the plugin is installed and enabled, you can focus on different headings by clicking on any of them.
You can adjust the behavior of this plugin by accessing Obsidian's Settings > Focus and Highlight
Tab.
This option affects the way to clear the focus state.
Clear the focus state by clicking again on the focused heading.
Clear the focus state by clicking on the blank area at the left or right side of the reading area, which may not work correctly when Settings > Editor > Readable line length
is turned off.
This option affects the scope of the focus state.
Focus only on the block you clicked on.
Focus on the block you clicked on and related content.
This option affects the behavior when clicking on the content elements, e.g. pure text, and callout block.
Focus only on the element you clicked on.
Focus on the element you clicked on and related content.
Focus on the list item (experimental, only works on the first level list)
Focus only when the mouse is 'not' still for a while (larger means longer).
With the Style Settings plugin installed and enabled, you can further customize some visual properties under Settings > Style Settings > Focus and Highlight
.
Set the opacity of dimmed elements. Default is 0.1.
Set the speed of the animation in seconds. Default is 0.5.
The plugin now supports multi-pane scenarios. Different panes will be able to focus on their headings, as the following GIF shows.
If you encounter any problems or have suggestions about the plugin, please feel free to open issues.
- Add support in edit mode.
[!NOTE] Maintaining a plugin is not an easy task. If you like this plugin, please consider the following methods to support the author:
- Please give me a star!
- Buy me a coffee!