Open marc-medley opened 6 years ago
Please follow the issue template provided. More specifically, update the original comment for this issue by adding a link to the required debug.md gist which includes debugging information that answers our most commonly asked questions. Thank you.
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.
Support for Vapor Leaf (HTML Templating) has yet to be added to atom-beautify
.
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.
Leaf 3.0.1 have been released. Support for Vapor Leaf (HTML Templating) has yet to be added to atom-beautify
.
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.
Leaf 3.0.2 has been released.
Support for Vapor Leaf (HTML Templating) has not yet to be added to atom-beautify
.
Leaf Syntax Overview is provivded at https://docs.vapor.codes/3.0/leaf/overview/.
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.
Support for Vapor Leaf (HTML Templating) has yet to be added to atom-beautify
.
I am working on the next major update of my parser. Once complete I anticipate the work to add support for Vapor Leaf will take only a few hours. Help is needed though to update Unibeautify (Atom Beautify's successor) to support the current (newer) major version of Pretty Diff
https://github.com/Unibeautify/beautifier-prettydiff/issues/114
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.
Support for Vapor Leaf (HTML Templating) has yet to be added to atom-beautify
.
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.
I just added Vapor Leaf to Pretty Diff.
The latest version of Pretty Diff is about to be merged into Unibeautify (Atom Beautify's successor), so this is just around the corner. In the mean time you can test support at http://prettydiff.com?mode=beautify&language=vapor and let me know if you find any defects. You can report any issues to me directly at https://github.com/prettydiff/prettydiff/issues
Description
Add Support for Vapor Leaf (HTML Templating).
Vapor Leaf Documentation: https://docs.vapor.codes/3.0/leaf/overview/
Leaf is HTML plus a relatively small set of template patterns.
#()
#(variable)
#embed("template")
#set("title") { Welcome }
#count(friends)
#for(friend in friends) { <li>#(friend.name)</li> }
#if (…) { … } else {…}
Simply formatting the HTML without particular formatting of the template parts could be helpful.
Input Before Beautification
Any
.leaf
file.Here is a link to several example
.leaf
files in the raywenderlich/vapor-til github example projectExpected Output
The beautified code should look like this:
Actual Output
Attempted runs of :
Steps to Reproduce
Debug
Here is a link to several example
.leaf
files in the raywenderlich/vapor-til github example projectChecklist
I have: