obsidian-table-checkboxes icon indicating copy to clipboard operation
obsidian-table-checkboxes copied to clipboard

Obsidian plugin. Allows for the usage of checkboxes inside markdown tables.

Obsidian Tables Checkboxes

This plugin for Obsidian replaces markdown checkboxes -[] inside markdown tables with HTML checkboxes.

Example

https://github.com/DylanGiesberts/obsidian-table-checkboxes/assets/66573865/7a218dd4-2575-41e8-b615-01f97c0a9bdb

Installing the plugin

Now available in the plugin store!

  1. Navigate to the plugins store (Settings => Community plugins -> Browse)
  2. Search for 'Markdown table checkboxes'
  3. Select the plugin and click Install

How to use

  • Simply enable the plugin and type a markdown checkbox inside a table. It will get converted to a HTML checkbox.
  • In either live preview or view mode, (un)check the checkbox and the state will be reflected in your file.

How it works

  • Whenever a closing bracket ] is typed to close a checkbox, it will be replaced by an HTML checkbox <input type="checkbox" unchecked id="...">.
  • When the checkbox is clicked in the preview, the checkbox in the file is found by its ID.
  • The checked state of the checkbox gets toggled.