The is a Obsidian plugin that helps you styling checkboxes in preview mode.
If the theme you are using...
Be sure to check to use the Things theme or Minimal theme in the settings.
Be sure to add the CSS of the ITS theme to the CSS Snippet.
The styles provided by the ITS theme can be found here.
Press (Command ;
on Mac) (or Ctrl ;
on Windows) anywhere to open the icon picker! (The hotkey can be customized in the settings).
OR
Just add :
to the right of unordered lists or checkboxes! (This can be changed in the settings.)
You can create a checkbox with the desired icon by clicking with the mouse or selecting the desired icon with the arrow keys and then pressing Spacebar.
This plugin originated from the idea of explicitly writing text by changing the header shape of Markdown's unordered lists into icons. Despite investing a lot of time in development and learning, the plugin was released with some limitations due to my limited skills. The limitations I've identified are as follows:
- Icons do not revert on click: As the styling is based on checkboxes, clicking an icon results in it being "unchecked," and the designated style disappears. The icons in unordered lists should not be clickable to prevent this.
- Difficulty in adding icons: The process of adding desired icons is complicated since it uses checkbox styling. It requires basic knowledge of JavaScript and CSS.
- Keyboard not confined to the popup window: For convenience, icons can be selected using the keyboard. However, the arrow keys move not only within the popped-up icon window but also on the page itself. Like the Tasks plugin, the keyboard should operate only within the popup.
- Cannot select icons using Enter: Due to issue three, pressing Enter also inserts an Enter (
\n
) on the page, leading to disorganized text.
I seek advice and solutions that can help resolve these issues to create a better plugin that many people will enjoy using. Thank you!