Checkbox without strikethrough?

Is it possible to configure Obsidian so that checking a checkbox does NOT render the rest of the paragraph in strikethrough? There are times when I want to clearly see the text of the completed items in a to-do list.

2 Likes

I just found out that the recent Insiders release makes it so that any fill character other than ‘x’ in the checkbox will check the box without the strikethrough!

  • [ ] unchecked - [ ] unchecked
  • [x] checked - [x] checked
  • [v] checked - [v] checked, no strikethrough
2 Likes

But then there should also be an option to check a checkbox with an X or a V. So you can set the default behaviour. I do not have insider release … is that option there?

Unfortunately, no. So it’s not a complete solution if you want to simply mouse click to complete an item. But at least if you’re willing to type the ‘v’ (or whatever) in the right place, you can make it subsequently display the fact that it’s checked but still have the details of the item be fully readable.

In the Night Owl theme it doesn’t use a strikethrough it changes the color of the text, kind of nice that way.

Edit: Just notice while on my desktop it works as I mentioned above, however on my Android it still does the strikethrough. Didn’t know that because I had been running the default theme on my mobile, just switched to Night Owl this morning.

Not sure if this helps, but this is a CSS snippet for the - [v] to work:

v-checkbox-no-strike-through.css (74 Bytes)

this snipit did not work for me. fyi

Can you show me the HTML tag of the checkbox?
You can do this using the inspector tool (ctrl+shift+i)

If you don’t know how this works, I explained it here:

This way I can see the class of your checkbox and modify the snippet.

I’m looking for a screenshot like this: