Provides a workaround for handling root dashed variables when using PebbleEngine.
Description
The workaround is achieved by introducing a new variable in PebbleEngineSyntaxOptions that can provide an arbitrary wrapping node in the context object processed by the Pebble Engine.
Motivation and Context
Fixes #25
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
I hereby agree to the terms of the Knot.x Contributor License Agreement.
Provides a workaround for handling root dashed variables when using PebbleEngine.
Description
The workaround is achieved by introducing a new variable in PebbleEngineSyntaxOptions that can provide an arbitrary wrapping node in the context object processed by the Pebble Engine.
Motivation and Context
Fixes #25
Types of changes
Checklist:
I hereby agree to the terms of the Knot.x Contributor License Agreement.