How to remove strikethrough for checkboxes?

If anyone is looking to remove strikethroughs on checked boxes in the new live preview editing mode, using this as a snippet like above worked for me:

.markdown-source-view.mod-cm6 .HyperMD-task-line[data-task]:not([data-task=" "]) {
    text-decoration:none;
    color: var(--text-normal);
}
26 Likes