Closed ThomasGysemans closed 12 months ago
@ThomasGysemans Thanks for your suggestion. Could you leave only the code changes related to the added functionality in the PR?
Hi @andyduke, this pull request is a big mess, so the easiest solution for me was to create a new branch where I could reorganise the changes correctly. I will close this PR and open a new one based on a different branch. It will make things clearer.
link : https://github.com/andyduke/styled_text_package/pull/72
The builder function of
StyledTextWidgetBuilderTag
now takes 3 arguments : the context, the attributes (like before) and thetextContent
of the tag. Something that makes more sense. I added to the examples how to create custom<sup>
and<sub>
tags.