Quick Expand Selection

by MuShan
5
4
3
2
1
Score: 50/100

Description

obsidian plugin: extended text and condensed text

Reviews

No reviews yet.

Stats

1
stars
107
downloads
2
forks
52
days
5
days
5
days
3
total PRs
0
open PRs
0
closed PRs
3
merged PRs
0
total issues
0
open issues
0
closed issues
17
commits

Latest Version

6 days ago

Changelog

Changes

  • Localize command, settings, and notification strings based on Obsidian language.
  • Add Simplified Chinese locale support with English fallback.
  • Align locale support with Obsidian 1.8.7 and add regression tests.

README file from

Github

Quick Expand Selection

Quick Expand Selection adds two localized Obsidian editor commands:

  • Expand selection
  • Shrink selection

The command names and settings follow Obsidian's interface language. English is used as the fallback, with Simplified Chinese currently supported. The commands have no default hotkeys so they do not conflict with existing Obsidian or user-defined shortcuts. Assign them in Settings -> Hotkeys. The default expansion model is Markdown-aware and progresses through word/token boundaries, punctuation and whitespace, lines and paragraphs, Markdown structures, and the full document. Code fences, LaTeX, list nesting, and heading sections are handled as separate structural scopes.

Every expansion rule can be enabled or disabled in the plugin settings. Shrinking follows the expansion history for the current editor and falls back to a collapsed cursor when no history remains.

Development

npm install
npm test
npm run build

Copy main.js and manifest.json into:

<vault>/.obsidian/plugins/quick-expand-selection/