Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checked List Items #55

Closed
702573N opened this issue Nov 6, 2021 · 3 comments
Closed

Checked List Items #55

702573N opened this issue Nov 6, 2021 · 3 comments

Comments

@702573N
Copy link

702573N commented Nov 6, 2021

I would like to switch the style of checked list items (text after a checkbox). On default the text of checked items doesn't changed. I would like to grey out the text and line-through.

Another style option is to disable small-caps on smaller headings.

@kepano
Copy link
Owner

kepano commented Nov 10, 2021

This is not currently on my roadmap, but the quick (and fairly simple) solution is to use a CSS snippet. See forum post for instructions.

@wenlzhang
Copy link

To grey out checked tasks in preview mode, the following snippet can be used:
https://forum.obsidian.md/t/dont-strike-through-nested-checkboxes-when-outer-checkbox-is-checked/8389/3
To strike through checked tasks, one can change text-decoration: none; to text-decoration: line-through;. I am not sure how to achieve both at the same time, though.

To disable small-caps on headers, the following can be used:
https://gist.github.com/wenlzhang/e80b53869c01a96659cee67b736e423d

@kepano
Copy link
Owner

kepano commented Dec 28, 2021

Both options are now available in Style Settings as of 4.2.9

@kepano kepano closed this as completed Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants