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 (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 aspace-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. @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!