-
-
Notifications
You must be signed in to change notification settings - Fork 364
Add docs for the new Twig Component syntax #792
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome start!
@weaverryan I resolved your comments! And I add a small paragraph for the embedded component 😁 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more notes - looking nice 👍
Thanks Matheo! |
.. code-block:: html+twig | ||
|
||
// "withActions" property will be set to true | ||
<twig:Alert withActions message="hello"></:Alert> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong closing?
<div class="content"> | ||
{% block footer %} | ||
... | ||
{% block footer %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be endblock?
{% endblock %} | ||
{% block footer %} | ||
... | ||
{% block footer %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be endblock?
This PR was squashed before being merged into the 2.x branch. Discussion ---------- [Twig] Tweaking docs for new HTML syntax | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Tickets | None | License | MIT Just following up with a few more tweaks to `@WebMamba`'s docs in #792. Cheers! Commits ------- 6691401 [Twig] Tweaking docs for new HTML syntax
see #771