-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moban extension #61
Moban extension #61
Conversation
… engine class would have equal access to plugin registry
…d non-function payload. this is something that lml should consider to support them seamlessly.
… module names. python does not import duplicated modules
Codecov Report
@@ Coverage Diff @@
## dev #61 +/- ##
==========================================
+ Coverage 98.77% 98.89% +0.11%
==========================================
Files 27 32 +5
Lines 1146 1266 +120
==========================================
+ Hits 1132 1252 +120
Misses 14 14
Continue to review full report at Codecov.
|
targets: | ||
- filter.output: filter.jj2 | ||
- test.output: test.jj2 | ||
- global.output: global.jj2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eol at eof
Everything is up to date! | ||
|
||
Please examine individual template and its associated plugin for more details. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary trailing blank line?
Hello, you are in level 7 example | ||
{% else %} | ||
Hello, you are not in level 7 | ||
{% endif %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eol at eof
{%else%} | ||
no | ||
{% endif %} | ||
{{ test }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eol at eof
* ✨ choose a template based on its file extension. fix #43 * 📚 update change log * 🐛 fix the template names * 📚 udpate readme * ✨ default template engine will be jinja2 if template type(file extension) cannot be found * 👕 address review feedback. #61 * 🎨 keep cli --template_type option * ✨ allow template_type in moban file to indicate default template engine. i.e. if unknown template type(file suffix) is found, the default template engine is used. So if mako engine is specified via template_type, an unknown template file such as strange.template will be rendered by mako engine * ✨ allow jinja2 become template suffix too, meaning a.jj2 and b.jinja2 will be rendered by the same engine. however, for now, the engine instance will not be the same. later on, this can be consolidated * 📚 update change log. #58 * ✨ associate jinja2 engine with more file types, j2, jinja and retore the default template engine name as jinja2 * 📚 documentation update
* ✨ choose a template based on its file extension. fix #43 * 📚 update change log * 🐛 fix the template names * 📚 udpate readme * ✨ default template engine will be jinja2 if template type(file extension) cannot be found * 👕 address review feedback. moremoban/moban#61 * 🎨 keep cli --template_type option * ✨ allow template_type in moban file to indicate default template engine. i.e. if unknown template type(file suffix) is found, the default template engine is used. So if mako engine is specified via template_type, an unknown template file such as strange.template will be rendered by mako engine * ✨ allow jinja2 become template suffix too, meaning a.jj2 and b.jinja2 will be rendered by the same engine. however, for now, the engine instance will not be the same. later on, this can be consolidated * 📚 update change log. #58 * ✨ associate jinja2 engine with more file types, j2, jinja and retore the default template engine name as jinja2 * 📚 documentation update
* ✨ choose a template based on its file extension. fix #43 * 📚 update change log * 🐛 fix the template names * 📚 udpate readme * ✨ default template engine will be jinja2 if template type(file extension) cannot be found * 👕 address review feedback. moremoban/moban#61 * 🎨 keep cli --template_type option * ✨ allow template_type in moban file to indicate default template engine. i.e. if unknown template type(file suffix) is found, the default template engine is used. So if mako engine is specified via template_type, an unknown template file such as strange.template will be rendered by mako engine * ✨ allow jinja2 become template suffix too, meaning a.jj2 and b.jinja2 will be rendered by the same engine. however, for now, the engine instance will not be the same. later on, this can be consolidated * 📚 update change log. #58 * ✨ associate jinja2 engine with more file types, j2, jinja and retore the default template engine name as jinja2 * 📚 documentation update
Delivers solution for the following issues:
#23
#18
#26