Skip to content

Instantly share code, notes, and snippets.

@atomicstack
Created February 28, 2024 02:17
Show Gist options
  • Save atomicstack/883366ff8d8a74ac1aba61ebc42c0b4a to your computer and use it in GitHub Desktop.
Save atomicstack/883366ff8d8a74ac1aba61ebc42c0b4a to your computer and use it in GitHub Desktop.
Obsidian CSS snippet: Disable strikethrough in marked checkboxes
.markdown-source-view.mod-cm6 .HyperMD-task-line[data-task]:not([data-task=" "]) {
text-decoration:none;
color: var(--text-normal);
}
.markdown-preview-view ul > li.task-list-item.is-checked {
text-decoration:none;
color:var(--text-normal);
}
.markdown-preview-view ol > li.task-list-item.is-checked {
text-decoration:none;
color:var(--text-normal);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment