-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Users may want to define custom environments and add custom filters to the existing ones. Currently not possible because Jinja environments are created inside the render API function directly.
To make this work, we'd need:
- Allow
renderto optionally take the environments dictionary as an argument. Default should beNonewhich then triggers building the environments internally. - Allow
serveto take a rebuild function that recompiles the site. This is currently defined inside the function and wouldn't use the custom environments. Passing a custom rebuild function would also allow users to customize the build process and have it work with livereload so it solves 2 problems at once.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request