-
Notifications
You must be signed in to change notification settings - Fork 68
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
Partials with params #31
Comments
No, it does not. I don't have a tokenizer or a bash syntax parser that would allow this, especially for |
Leaving this one open because it's a wonderful idea. |
Leaving this here, as this is still very much something I am interested in implementing: NOTE: The following would be good enough (slightly easier than original example): {{>some_partial
param1="one"
param2="2"
param3="$some_shell_var"
}} Below is some code that might help... (Obviously this code needs fixing up, making faster, removing hard-coded dir stuff, but gives an idea of what I might be able to implement) Suggestions, improvements and alternatives are welcome!
|
Split from #28 by @sc0ttj:
Does the following (or something similar) work in mo? ..
...I have some snippets lying around which nearly make it work with params as strings, but it's not working yet, and I didn't actually test mo itself to see if the above, or something similar, is supported..
The text was updated successfully, but these errors were encountered: