Skip to content

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

License

Notifications You must be signed in to change notification settings

DylanGiesberts/obsidian-table-checkboxes

Repository files navigation

Obsidian Tables Checkboxes

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

Example

Obsidian.table.checkboxes.example.mov

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.