Skip to content

Conversation

@disberd
Copy link
Contributor

@disberd disberd commented Sep 25, 2025

Add the TextHighlighter constructor that takes kwargs and construct a Crayon object implicitly from those.

This is still a documented constructor but is not present anymore in the v3 API.

I thought it was more meaningful to add it back (rather than to do PR to it from the docstring) and also thought it wasn't very julian to make it an inner constructor (though I see you are putting all constructors as inner @ronisbr), so can easily make it inner if preferred (or even just make this a change of docstring PR if your new API does not envisage this constructor)

@ronisbr
Copy link
Owner

ronisbr commented Sep 25, 2025

Awesome @disberd !

Thank you very much!

@ronisbr ronisbr merged commit 6c62544 into ronisbr:master Sep 25, 2025
12 checks passed
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.

2 participants