-
Notifications
You must be signed in to change notification settings - Fork 481
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
Add purple coloring for todo-admonitions #2526
Conversation
Where is this actually used in practice? This is not a standard admonition supported by the Markdown stdlib, right? My view generally has been that we only style admonitions that are also supported by the REPL etc., and custom stuff should be a plugin. Could we add an example of it here? Documenter.jl/docs/src/showcase.md Lines 101 to 119 in 5425664
|
I just wanted nicely formatted todo-notes in the docs :) I can of course just add the necessary CSS locally. |
I think my inclination here is not to deviate from the Markdown stdlib and the Julia REPL 🙁 I only wish it was easier to customize the themes and admonitions though. The ability to add custom ones would be useful though. |
I guess I just have to patch Markdown and REPL first then :) |
That's definitely one way to go about it 🤣 |
Just noticed that Github uses purple for the |
This patch adds magenta coloring for `!!! todo` admonitions in addition to the existing styling of `danger`, `warning`, `info`, `note`, `tip`, and `compat` admonitions. This is useful if you want to leave some more colorful todo notes in docstrings, for example. Accompanying PR for Documenter to render these in HTML and PDF docs: JuliaDocs/Documenter.jl#2526.
This patch adds magenta coloring for `!!! todo` admonitions in addition to the existing styling of `danger`, `warning`, `info`, `note`, `tip`, and `compat` admonitions. This is useful if you want to leave some more colorful todo notes in docstrings, for example. Accompanying PR for Documenter to render these in HTML and PDF docs: JuliaDocs/Documenter.jl#2526.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.