11ty / eleventy-plugin-template-languages

Official template syntax plugins for Eleventy
MIT License
2 stars 2 forks source link

Support passing Pug options in `@11ty/eleventy-plugin-pug` #17

Open YusukeHirao opened 1 month ago

YusukeHirao commented 1 month ago

This PR ensures that Pug options specified in the configuration are correctly applied within @11ty/eleventy-plugin-pug. Although the documentation indicated that Pug options could be passed, they were not being merged internally, leading to a discrepancy between the documentation and the actual implementation.

Changes

With this fix, users can now pass Pug options like pretty and filters as described in the documentation, allowing for custom Pug template rendering.