Skip to content

feat: add method to register formatters#15018

Open
sgaist wants to merge 3 commits intoipython:mainfrom
sgaist:feat/formatter-registration
Open

feat: add method to register formatters#15018
sgaist wants to merge 3 commits intoipython:mainfrom
sgaist:feat/formatter-registration

Conversation

@sgaist
Copy link
Contributor

@sgaist sgaist commented Oct 9, 2025

The new DisplayFormatter.register_formattermakes registering formatters more intuitive.

It also provides a centralized place for future additional checks if needed.

Fixes #14580

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.

registering a new formatter requires double reference to mimetype.

1 participant