-
Notifications
You must be signed in to change notification settings - Fork 58
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
Styling a element with several CSS classes #75
Comments
Hi, thank you for reporting 🙂 You can try it out with this HTML: <html lang="en">
<head>
<style>
.a\.b {
color: yellow;
}
</style>
</head>
<body>
<p class="a.b">hello</p>
</body>
</html> Regarding the output, it is actually
which seems to be a bug. I'll fix it. |
Thanks for the really quick feedback. Regarding the output, If you say so, then this is something that |
I understand why you ask, as
|
Fair enough 👍 Thanks for the quick feedback, patch and the explanation :) |
No problem, fixed in |
Hi,
I am trying to use this in
tui.editor
within a Gollum installation, I have already written a render layer for Gollum which mimicsmarkdown-it-attrs
behaviors. Something that makes me wonder is some inconsistencies when having several classes on an element.Example input:
Current output:
Expected output:
Won't you agree that both should render the same way? I mean why not allowing the shorthand
.warning.green
instead of.warning .green
? and why it completely eats.note.green
?Thanks
/Reza
The text was updated successfully, but these errors were encountered: