Skip to content
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

Allow at least some form of templating also for markdown #71

Closed
Oberon00 opened this issue Sep 24, 2021 · 1 comment
Closed

Allow at least some form of templating also for markdown #71

Oberon00 opened this issue Sep 24, 2021 · 1 comment
Labels
enhancement New feature or request semconv/md Related specifically to the markdown output of the semantic convention generator semconv Related to the semantic convention generator.

Comments

@Oberon00
Copy link
Member

The code generator uses a flexible mechanism based on Jinja2 to generate output. Yet the markdown output is generated with hard-coded Python code.
Consider introducing more flexibility into markdown generation with Jinja. Ideally, completely replace the Python code for markdown with Jinja templates which allow good structuring and are quite powerful. Just the replacement mechanism (finding the HTML comments) will best stay in Pyhton.

From #70 (comment)

@Oberon00 Oberon00 added enhancement New feature or request semconv Related to the semantic convention generator. semconv/md Related specifically to the markdown output of the semantic convention generator labels Sep 24, 2021
@lmolkova
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request semconv/md Related specifically to the markdown output of the semantic convention generator semconv Related to the semantic convention generator.
Projects
None yet
Development

No branches or pull requests

2 participants