Open douyo opened 9 years ago
This also needs to be clarified: if a colon is required, should a single colon be included before the rest of the attributes or should each attribute name be preceded by a colon?
A number of folks have been doing this:
{: class='button button-green'}
{: target="_blank" :}
{: class='button button-green' target='_blank'}
The doc on special attributes mentions that you should use a colon in front of other attributes:
The colon actually gets passed right through to the rendered HTML:
Also, instead of
color
, a standard HTML attribute should be used in the example. (It doesn't look likecolor
is a standard attribute. This is extra confusing becausecolor
is a CSS property, so this example might be interpreted as "here's how you set a CSS property on an element".