Page Width

by Adam Tweedie
5
4
3
2
1
Score: 50/100

Description

Obsidian plugin: resize the page width by dragging the margins, or pick Narrow, Wide or Max from the status bar.

Reviews

No reviews yet.

Stats

0
stars
49
downloads
0
forks
4
days
4
days
4
days
4
total PRs
0
open PRs
0
closed PRs
4
merged PRs
0
total issues
0
open issues
0
closed issues
16
commits

Latest Version

4 days ago

Changelog

What's Changed

Full Changelog: https://github.com/nipsey-cosmo/page-width/compare/1.0.1...1.0.2

README file from

Github

Page Width

[!NOTE] Page Width needs Obsidian's "Readable line length" setting, which is on by default. Only if you turned it off: turn it on again in Settings → Editor → Readable line length. The grip and the buttons have no effect while it is off.

Obsidian plugin (desktop only) that sets the readable line width (--file-line-width).

  • Drag the small grip at the right edge of the text column in any markdown view (edit or reading mode). The column stays centred; minimum 400px, maximum the pane width.
  • Or click Narrow (700px, Obsidian's default), Wide (1100px) or Max (100%) in the status bar.

The width is global and saved between sessions.

Install

Download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/page-width/, then enable Page Width in Settings → Community plugins.

Development

npm install
npm run build   # type-check + bundle to main.js
npm run check   # assertions for the drag-width maths