Skip to content
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: Scriptlets #181

patrick-steele-idem opened this Issue Dec 8, 2015 · 0 comments


None yet
1 participant
Copy link

patrick-steele-idem commented Dec 8, 2015

New Syntax

NOTE: We are adopting the EJS syntax for embedded code (i.e.g <% {js} %>). This is also the same syntax used by JSP scriptlets.

<% if (true) { %>
<% } %>
<% if (false) { %>
<% } %>

Old Syntax

{% if (true) { %}
{% } %}
{% if (false) { %}
{% } %}

@patrick-steele-idem patrick-steele-idem modified the milestone: 3.0 Dec 22, 2015

patrick-steele-idem added a commit that referenced this issue Feb 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.