-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
[FEATURE] Indent custom block form_start in Twig #476
Comments
Hi @lukepass this syntax isn't curretly supported > when hugo support is added then it should work. |
Hello and thanks for the answer! What is hugo support? |
I should have been clearer :) The Hugo template language. They are also using |
I am using Twig (with Symfony).
|
Thanks! |
Hello, is there any news about this issue? Thanks! |
Hey @lukepass nothing yet. I think it will be a hefty project. Do you happen to have a public repo with html using this tag style that I could practice on? |
Yes, you can try the official Symfony Demo project which has a lot of recommended practices, here you can find a file containing https://github.com/symfony/demo/blob/main/templates/user/edit.html.twig Thanks. |
@lukepass I finally read the symfony docs and reallized that this is the only tag they have in |
# [1.31.0](v1.30.2...v1.31.0) (2023-06-12) ### Bug Fixes * **formatter:** fixed `line_break_after_multiline_tag` to force break in all cases ([3b37ec8](3b37ec8)), closes [#680](#680) * **formatter:** fixed isolated quotes being deleted from attributes ([19425f9](19425f9)), closes [#652](#652) * **formatter:** fixed wild match on template tags ([d288b78](d288b78)), closes [#686](#686) * **linter:** fixed false positive on t001 ([1caf4c4](1caf4c4)), closes [#606](#606) ### Features * **formatter:** added `max-blank-lines` flag to consolidate blank lines ([4a7897f](4a7897f)), closes [#675](#675) * **formatter:** added support for symphony forms ([e716ddc](e716ddc)), closes [#476](#476)
🎉 This issue has been resolved in version 1.31.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Feature Request
Hello, I tried using the
custom_blocks
andcustom_html
configuration parameters but I couldn't get the indentation to work when usingform_start
(a Symfony helper). How can I indent this with djLint?My configuration:
Thanks!
The text was updated successfully, but these errors were encountered: