-
Notifications
You must be signed in to change notification settings - Fork 6
Custom Template Support #69
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
base: master
Are you sure you want to change the base?
Conversation
…ich can be useful for custom templates. The functions added here are pretty arbitrary and more can be added when required. Perhaps it might be worth it having a mechanism for users to register their own functions, but I'm not sure how that would work without introducing too much complexity to the development and usage.
…e accurate and avoid ambiguity with custom templates.
It defaults to `Environment Variables` for backward compatibility.
|
I just added an extra bit of customisation. Previously, the headers of the generated files were hard-coded to |
9e8a042 to
929ebac
Compare
|
@g4s8, can you please confirm if this is worth merging? |
Hey, there. Great project.
I recently started using envdoc and wanted to make some docs with Markdown tables, but realised that wasn't a built-in format. So I implemented custom template support.
The new addition is a
-templateflag which points to the custom file and has precedence over the-formatflag.I've also updated the documentation and examples to reflect the new feature.
This should also resolve #41.
Do let me know if any related changes need to be made.