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

ENH: tag formatters #61

Open
story645 opened this issue Aug 25, 2023 · 0 comments
Open

ENH: tag formatters #61

story645 opened this issue Aug 25, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@story645
Copy link
Collaborator

story645 commented Aug 25, 2023

Is it possible to provide a way to configure how tags are rendered in the badge separate from how they're defined in text. For example in-text tagging may include hierarchy ..tags:: domain:geometry but we'd like the rendered tag to display just geometry because we can show the hierarchy in a different manner. I'm thinking something like a callable:
Tag.set_formatter(lambda: x: x[:10])

attn: @esibinga

@melissawm melissawm added the enhancement New feature or request label Oct 28, 2023
@melissawm melissawm added this to the 0.3.1 milestone Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants