Bracket to Checkbox

by jihan
5
4
3
2
1
New Plugin

Description

Type [ ] then space to turn it into a Markdown checkbox (- [ ] ). - This plugin has not been manually reviewed by Obsidian staff.

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
0
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Bracket to Checkbox

An Obsidian plugin. Type [, ], space at the start of a line and it becomes a Markdown checkbox - [ ] — like Notion's []-then-space shortcut.

Usage

Anywhere a line begins (optionally inside a bullet or indented), type:

[] 

It is replaced with:

- [ ] 

Works inside existing bullets (- [] - [ ] , keeping the marker) and at any indent level. Text in the middle of a line (e.g. note [] ) is left alone.

Install

From the community store

Settings → Community plugins → Browse → search "Bracket to Checkbox" → Install → Enable.

Manually

Copy main.js and manifest.json into <vault>/.obsidian/plugins/bracket-to-checkbox/, then enable the plugin in Settings → Community plugins.

Beta (BRAT)

Add this repo (2JIHAN/bracket-to-checkbox) in the BRAT plugin.

Development

Plain JavaScript, no build step. main.js is loaded directly by Obsidian.

Run the logic self-check:

node test.js

License

MIT