Perhaps one can adopt the "standard" that camel case is converted to dashes; an example:
%tag(dataKey="value")
Renders to:
<tag data-key="value">...</tag>
Although, this would not allow us to have camel case at all. A "magic" keyword argument could be passed to override this behaviour, but this seems somewhat hacky.
The following does not compile:
Perhaps one can adopt the "standard" that camel case is converted to dashes; an example:
Renders to:
Although, this would not allow us to have camel case at all. A "magic" keyword argument could be passed to override this behaviour, but this seems somewhat hacky.