![]() ![]() Having the new option would allow me to just copy the skeleton templates which extend other templates (within the same bundle), instead of having to parse them (so the bundle name gets added to the extends syntax). ![]() It's kind of the missing combination of the 3 possibilities. Much like the 3rd option, the new syntax would extend the template within the same Bundle, but not from within the root folder but from the Layout folder. I would like to suggest adding the following option : It should call the transformer's (currently undocumented) compileClient method and generate a pug AST token of type Code instead of Text (see. The skeleton Twig templates which don't need parsing, I can just copy without having to be afraid of problems because the entire templates was in Add support for the new token type to pug-parser (mostly just replicate parseFilter and parseIncludeFilter for runtime-filter) Update pug-filters to add support for runtime-filter. I extracted some parts out of the templates to minimize the amount of Twig code I need to parse. But because I use the Twig parser, I'll need to comment out almost the entire skeleton template except for a few lines. In that bundle I need to generate Twig templates based on Twig skeleton files. I'm currently working on a generator bundle. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |