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

Marko v3: Replace <div attrs(myAttrs)> with <div ${myAttrs}> #198

patrick-steele-idem opened this Issue Jan 7, 2016 · 0 comments


None yet
1 participant
Copy link

patrick-steele-idem commented Jan 7, 2016

New syntax:

<div class="foo" ${myAttrs}></div>

With the following value of myAttrs:

    style: "color: red;",
    foo: "bar"

The output would be the following:

<div class="foo" style="color: red;" foo="bar"></div>

Old syntax:

<div class="foo" attrs(myAttrs)></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment