MCPcopy Index your code
hub / github.com/MugishoMp/obsidian-editor-width-slider

github.com/MugishoMp/obsidian-editor-width-slider @1.0.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.0.5 ↗ · + Follow
25 symbols 49 edges 6 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Obsidian Line Width Slider Plugin

A plugin for Obsidian that allows you to adjust the editor line width using a simple slider in the status bar.

Features

  • Adjust the line width of the editor using a slider in the status bar.
  • Increase or decrease the line width to customize your editing experience.
  • Simple and intuitive interface for easy usage.

Feature: Custom for Individual Files using YAML

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.

Setting the Editor Width

To set a custom editor width for a specific file, follow these steps:

  1. Open the note for which you want to customize the editor width.

  2. 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:

```yaml


title: My Customized Note editor-width: 75


```

Demo

Demo GIF

Here is a brief demo showcasing the basic functionality of the Line Width Slider plugin.

Installation

  1. Download the latest release of the plugin from the Releases page.
  2. Extract the plugin folder from the downloaded ZIP file.
  3. Copy the plugin folder into your Obsidian vault's .obsidian/plugins directory.
  4. Launch Obsidian and open the settings.
  5. Navigate to the "Community Plugins" tab and enable the "Line Width Slider" plugin.
  6. Enjoy using the Line Width Slider in the status bar to adjust the editor line width.

Usage

  1. Once the plugin is enabled, you will see a slider in the status bar.
  2. Drag the slider to the left or right to increase or decrease the editor line width.
  3. The changes will be applied to the editor in real-time.

Feedback and Support

If you encounter any issues or have suggestions for improvements, please create a new issue on the GitHub repository.

Support Me

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! ☕️🖥️

Donate

License

This plugin is licensed under the MIT License. See the LICENSE file for more information.

Please note that this plugin is provided as-is without any warranty. Use it at your own risk.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 18
Class 6
Interface 1

Languages

TypeScript100%

Modules by API surface

src/main.ts15 symbols
src/modal/warning.ts5 symbols
src/settings/settings.ts4 symbols
src/types/settings.ts1 symbols

For agents

$ claude mcp add obsidian-editor-width-slider \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page