Is there an easy way to set a score to something?
For tasks, there is a binary checklist [ ] , but what if I need something with more variety?
Empty and full stars could be an option, a circle with a grade in it, or anything similar.
If there isn’t a good option, would you think it’s worth (and possible) writing a plugin for that?
Thank you for the references.
I’m looking for something to put in notes rather than as metadata, hence it needed to be more functional and good-looking and not just descriptive.
I was thinking of something like this for habit or goal tracking. If I want to do something three times a day (daily note) or twice a week (weekly note), syntax like this could work:
- [x][x][ ] task text
It could render as un/filled stars, circles, boxes or any other manner of symbols.
The https://progress-bar.dev/ site lets you create images that display percentages or similar numbers in bars, and you can insert them into md files with markdown.
For example, ![progress 28%](https://progress-bar.dev/28/) will give you this:
You can include words in the bar:
There’s other examples at the link above.
I’ve just tested in my Obsidian files and it works there.
The alt text and title text (“progress 28%” in my example) aren’t strictly needed for the image to appear but either would allow you to do text searches for specific progresses, and the title text would appear on-hover if that were important to you. The alt text would allow you or others to understand the image when using a screen reader. [this is alt text](http://example.com/image.png "this is title text"
You could standardise on using percents in increments of 10 to make it easier to search for notes at a specific level of completion (i.e., use 10%, 20%, etc, never 16%).
Using different words would allow you to have two or more grades/ratings for each note.
I am not sure how much you need these stars/scores to do (visual vs other functions), so this may not apply to your current situation at all. That said, the specific use case of empty and full stars for their visual value in previews/publishing can be achieved with HTML entity codes for stars. There are codes for both black and white stars, which could be used for full and empty. I haven’t tested it in Obsidian, but they should be styleable with CSS.