Skip to content

How to apply custom tasklist design? #1256

Answered by facelessuser
Andre601 asked this question in Q&A
Discussion options

You must be logged in to vote

If you are using MkDocs Material (which it seems you are) you don't really need to do anything except set custom_checkbox. The only additional styling we do in our docs is coloring: https://github.com/facelessuser/pymdown-extensions/blob/main/docs/src/scss/extensions/_tasklist.scss.

The example CSS provided in the documents is only for environments that aren't already doing special styling on the tasklist. If you combine the example CSS on top of Material's custom CSS, you will end up with something not quite like you expect.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@facelessuser
Comment options

@Andre601
Comment options

@Andre601
Comment options

@facelessuser
Comment options

@Andre601
Comment options

Answer selected by Andre601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants