Skip to content

Conversation

@rhodeon
Copy link

@rhodeon rhodeon commented Nov 12, 2025

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 -template flag which points to the custom file and has precedence over the -format flag.
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.

@rhodeon
Copy link
Author

rhodeon commented Nov 13, 2025

I just added an extra bit of customisation. Previously, the headers of the generated files were hard-coded to Environment Variables. In a codebase where multiple files are generated, it can be useful to have a more specific title.
I introduced a -title flag for that, and it defaults to Environment Variables for backward compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom Template Support (idea)

1 participant