Skip to content

Can pymdown-extensions inject its own CSS into the mkdocs project? #1925

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

You must be logged in to vote

Pymdown Extensions does not inject CSS. There are a few cases where, for basic functionality, it is not possible without setting some minimal style to an element (progress bar width for instance), but those cases are extremely rare and where we draw the line. At most, we may recommend CSS, but we allow the user to style their content in whatever way they want. We never force styling upon the user as that is not our goal.

Now, let me answer your question more directly as this isn't really a question for Pymdown Extensions, but more a documentation system question. I use MkDocs, and you may have noticed that I do in fact use custom styling when dark mode is enabled in my documents. I actual…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ssbarnea
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