Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Canvas Project Autofit

Peng HePeng He139 downloads

Zoom canvases on open to fill the viewport width, pinned to the top. Ideal for project boards with many cards.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Zoom Obsidian canvases on open so content fills the viewport width, pinned to the top. Lower rows can stay off-screen — useful for tall project boards with many cards.

Features

  • Auto-fit when opening a canvas (configurable path prefix)
  • Width-first framing instead of Obsidian’s default “fit everything” zoom
  • Overrides canvas zoomToFit while the plugin is active
  • Command palette: Fit canvas to width
  • Optional: click text cards with external links to open them in the browser
  • Settings for path prefix, width fraction, and top padding

Installation

From Obsidian Community Plugins (after submission)

  1. Open Settings → Community plugins.
  2. Browse and search for Canvas Project Autofit.
  3. Install and enable.

Manual install

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Create a folder canvas-project-autofit inside your vault’s .obsidian/plugins/.
  3. Copy the three files into that folder.
  4. Enable the plugin under Settings → Community plugins.

Usage

  1. Enable the plugin.
  2. Open a canvas (by default, only paths starting with Projects/ are auto-fitted).
  3. The view zooms so the board width fills the window; the top of the canvas stays visible.

Use the command Fit canvas to width to re-apply the framing on the active canvas.

Settings

Setting Default Description
Canvas path prefix Projects/ Limit auto-fit to canvases under this folder. Empty = all canvases.
Width fraction 1.0 How much of the board width to frame. Lower = more zoomed in.
Top padding 16 Pixels of space above content when framing.
Clickable external links on Open URLs from text cards with a single click.

Development

This plugin is written in plain JavaScript (main.js) for easy inspection and community review. No build step is required.

To develop locally:

  1. Clone this repository into .obsidian/plugins/canvas-project-autofit/ inside a test vault, or symlink it.
  2. Reload Obsidian (Settings → Community plugins → reload).

Submitting to the Community directory

This repository is structured for Obsidian Community plugin submission:

  • manifest.json at repo root (committed on default branch)
  • LICENSE (MIT)
  • README.md with usage instructions
  • GitHub release tagged 1.2.0 (no v prefix) with release assets: main.js, manifest.json, styles.css
  • versions.json maps plugin version → minimum Obsidian version

After publishing a release, sign in at community.obsidian.md, link GitHub, and submit the repository URL under Plugins → New plugin.

License

MIT — see LICENSE.

HealthExcellent
ReviewPassed
About
Auto-fit canvases on open to frame the board width and pin the canvas top so lower rows can stay off-screen for tall project boards. Limit auto-fit by path prefix, run the Fit canvas to width command to reframe, and open external links in text cards with a single click.
CanvasNavigation
Details
Current version
1.2.0
Last updated
2 months ago
Created
2 months ago
Updates
1 release
Downloads
139
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Peng HePeng Hebrianpenghe
GitHubbrianpenghe
  1. Community
  2. Plugins
  3. Canvas
  4. Canvas Project Autofit

Related plugins

Simple CanvaSearch

Quickly fuzzysearch notes, cards and their content and shift focus to them within the currently opened canvas.

Better Embedded Canvas

Give your embedded canvas better display and interactivity.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Vertical Tabs

Offer an alternative view that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.

Recent Files

Display a list of recently opened files.

Hover Editor

Transform the Page Preview hover popover into a fully working editor instance.