Replies: 1 comment 7 replies
-
|
What do you think about this? Getting rid of the title entirely and using the keyword only for colors? error -> red We could still inject custom classes, which would make the system more flexible. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There is the possibility to define shoutouts, using this markdown:
There are also specific keywords recodnized by the CSS, so, e.g. "info" rendered in blue, "error" in red, etc.
How about this? If an unknown keyword used, then you add this keyword as a class to the shoutout
asidecontainer?Example:
Rendered HTML output - note the word 'comment' in the class of 'aside':
The idea here: there is also possible to include a custom.css file. In other words: if somebody want a custom shoutout, then he can use any buzzword for it, this word will be in the class attribute of the container, so in that custom CSS file he can define whatever design he/she wants to display by overriding the CSS rule of the basic shoutout.
Beta Was this translation helpful? Give feedback.
All reactions