CSS for Obsidian to show selected checkboxes as bold (no strikethrough)
Use this snippet in your Obsidian and add the class selected-checkboxes
to a note to make checked items display without strikethrough and with a bold label. Handy for on checklists.
/* Reading view */
.markdown-preview-view.selected-checkbox .task-list-item.is-checked {
text-decoration: none !important;
color: var(--text-normal);
font-weight: bold;
opacity: 1;
}
/* Live Preview (Editor) */
.markdown-source-view.mod-cm6.selected-checkbox .HyperMD-task-line[data-task="x"],
.markdown-source-view.mod-cm6.selected-checkbox .HyperMD-task-line[data-task="X"] {
text-decoration: none !important;
color: var(--text-normal);
font-weight: bold;
opacity: 1;
}