mugishomp72k downloadsCustomize Obsidian's editor width with a slider for a tailored editing experience.
A plugin for Obsidian that allows you to adjust the editor line width using a simple slider in the status bar.
With the Obsidian Line Width Slider Plugin, you can now customize the editor width for individual files by specifying an "editor-width" field in the YAML frontmatter of your notes. This feature allows you to have different line widths for different files, giving you greater flexibility in your note-taking and editing experience.
To set a custom editor width for a specific file, follow these steps:
Open the note for which you want to customize the editor width.
In the YAML frontmatter section at the top of the note, add an "editor-width" field. The value of this field should be a number between 0 and 100, representing the desired editor width as a percentage of the viewport width. For example:
---
title: My Customized Note
editor-width: 75
---
Here is a brief demo showcasing the basic functionality of the Line Width Slider plugin.
.obsidian/plugins directory.If you encounter any issues or have suggestions for improvements, please create a new issue on the GitHub repository.
If you find my work valuable or simply want to support this broke CS student's caffeine-fueled coding adventures, you can make a donation through PayPal. Your contribution is greatly appreciated and helps keep the coffee flowing! ☕️🖥️
Please note that this plugin is provided as-is without any warranty. Use it at your own risk.