No description
Find a file
2025-03-13 20:58:06 +03:00
.github/workflows add tg notify 2025-03-13 20:58:06 +03:00
__tests__ add tests 2025-02-18 20:50:31 +03:00
img add gif 2025-02-08 03:03:29 +03:00
src Prevent editor scrolling on checkbox sync by moving cursor to end of first changed line and hiding it with blur, #2 2025-03-10 12:17:13 +03:00
.editorconfig Initial commit 2025-02-01 03:53:06 +03:00
.eslintignore Initial commit 2025-02-01 03:53:06 +03:00
.eslintrc Initial commit 2025-02-01 03:53:06 +03:00
.gitignore add tests 2025-02-18 20:50:31 +03:00
.npmrc Initial commit 2025-02-01 03:53:06 +03:00
esbuild.config.mjs add tests 2025-02-18 20:50:31 +03:00
jest.config.ts add tests 2025-02-18 20:50:31 +03:00
LICENSE fix license 2025-02-23 01:23:33 +03:00
manifest.json v upd, #2,#3 2025-03-10 12:18:37 +03:00
package-lock.json add tests 2025-02-18 20:50:31 +03:00
package.json add tests 2025-02-18 20:50:31 +03:00
README.md ff2 2025-03-10 19:23:18 +03:00
styles.css Initial commit 2025-02-01 03:53:06 +03:00
tsconfig.json add tests 2025-02-18 20:50:31 +03:00
version-bump.mjs Initial commit 2025-02-01 03:53:06 +03:00
versions.json Initial commit 2025-02-01 03:53:06 +03:00

Checkbox Sync

License: 0BSD Latest Release

English

Description

Checkbox Sync is a plugin for Obsidian that automates the management of checkbox states in your notes. If all child checkboxes are checked, the plugin automatically checks the parent checkbox, and if at least one of them is unchecked, it unchecks the parent.

Usage

After activating the plugin, it automatically tracks checkboxes in your notes. Example usage:

In this example, as soon as both child checkboxes are checked, the plugin will automatically check the parent checkbox. If at least one child checkbox is unchecked, the parent will be unchecked.

Installation

Manual Installation

  1. Go to the releases page and download the latest plugin archive.
  2. Extract the archive to the directory:
    <your-vault>/.obsidian/plugins/checkbox-sync
  3. Restart Obsidian.
  4. Open Settings → Community plugins and enable Checkbox Sync.

Installation via Plugin Manager (if supported)

  1. Open Obsidian and go to Settings → Community plugins.
  2. Click the Browse button, search for "Checkbox Sync", and install it.
  3. Enable the plugin after installation.

Development and Contribution

If you want to make changes or improvements to the plugin:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/feature-name
  3. Make changes and commit:
    git commit -m "Description of changes"
  4. Push changes to your fork:
    git push origin feature/feature-name
  5. Open a Pull Request in the original repository.

License

This project is licensed under the 0BSD license.

Acknowledgments


If you have any questions, suggestions, or find a bug, please create an issue in the repository.

Русский

Описание

Checkbox Sync — это плагин для Obsidian, который автоматизирует управление состоянием чекбоксов в ваших заметках. Если все дочерние чекбоксы выполнены, плагин автоматически отмечает родительский чекбокс, а если хотя бы один из них не отмечен — снимает отметку с родительского.

Использование

После активации плагина, он автоматически отслеживает чекбоксы в ваших заметках. Пример использования:

В данном примере, как только оба дочерних чекбокса будут отмечены, плагин автоматически отметит родительский чекбокс. Если хотя бы один дочерний чекбокс не отмечен, родительский сбросится.

Установка

Ручная установка

  1. Перейдите на страницу релизов и скачайте последний архив плагина.
  2. Распакуйте архив в директорию:
    <ваше-хранилище>/.obsidian/plugins/checkbox-sync
  3. Перезапустите Obsidian.
  4. Откройте Настройки → Плагины сообщества и активируйте Checkbox Sync.

Установка через менеджер плагинов (если поддерживается)

  1. Откройте Obsidian и перейдите в Настройки → Плагины сообщества.
  2. Нажмите кнопку Обзор, найдите "Checkbox Sync" и установите его.
  3. Активируйте плагин после установки.

Разработка и вклад

Если вы хотите внести изменения или улучшения в плагин:

  1. Форкните репозиторий.
  2. Создайте новую ветку:
    git checkout -b feature/имя-функционала
  3. Внесите изменения и сделайте коммит:
    git commit -m "Описание изменений"
  4. Отправьте изменения в свой форк:
    git push origin feature/имя-функционала
  5. Откройте Pull Request в оригинальном репозитории.

Лицензия

Этот проект лицензирован под лицензией 0BSD.

Благодарности

  • Obsidian — платформа для создания и организации заметок.
  • Проект создан на основе шаблона obsidian-sample-plugin.

Если у вас есть вопросы, предложения или вы обнаружили баг, пожалуйста, создайте issue в репозитории.