-
-
Notifications
You must be signed in to change notification settings - Fork 212
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Discussed in #216
Originally posted by hxlnt October 7, 2025
It would be great to assign an HTML class to a specific element in order to style it different via CSS.
.container class:{xyz}
for blocks.text class:{xyz}
for inlines
Something to take into account is future cross-target support: for instance .html
and .css
will only be accepted in HTML-based renderers. Future targets, such as LaTeX (#41), will need to ignore these function calls or throw an error.
As for this new feature, having an unsupported parameter is slightly different from an unsupported function, so it requires to take some design for future development.
hxlnt
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request