# Task dynamic styling

**URL:** <https://community.silverbullet.md/t/task-dynamic-styling/3708>\
**Category:** Tricks & Techniques\
**Created:** [January 3, 2026, 3:10pm UTC](https://community.silverbullet.md/t/task-dynamic-styling/3708 "2026-01-03T15:10:40Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![bau](https://community.silverbullet.md/user_avatar/community.silverbullet.md/bau/32/2597_2.png) [@bau](https://community.silverbullet.md/u/bau)\
**Post date:** [January 5, 2026, 4:03pm UTC](https://community.silverbullet.md/t/task-dynamic-styling/3708/5 "2026-01-05T16:03:23Z")

</div>

To familiarize myself with the SilverBullet environment, I set myself a challenge: **style the tasks**. It was laborious but the objective was achieved.

The solution, based on a JS script, is published in my repository [Github](https://github.com/Baudogit/silverbullet/tree/main/Tasks%20styling) (I am not familiar with publishing via the Library Manager. Sorry!).

## You will find:

- **observer.js** which does the job
- **observer\_start.md** which stores custom CSS rules in a `space-lua` (yes, NOT a `space-style`!) and launches observer.js when the SilverBullet session starts

Please read **observer\_README\_FR.md** or **observer\_README\_EN.md** to learn everything about the making-off and set up your own rules.

Other files are made available, including:

- **observer\_tests.md** to check your installation and custom rules
- observer\_new\_avec\_log.js and observer\_old\_avec\_debug.js to access quantifications and runtime markup in the console. These older versions do not support passing arguments from space-lua (see observer\_Readme).

This script anticipates the development proposed here [https://github.com/silverbulletmd/silverbullet/issues/1740](https://github.com/silverbulletmd/silverbullet/issues/1740). @zef: can you take a look and check the consistency between the two approaches? THANKS.

Please send me your feedback here (not on Github) by publishing an image of your customization.

Happy styling!

---

_[View the full topic](https://community.silverbullet.md/t/task-dynamic-styling/3708)._
