Preventing text from overflowing the box. #336
Unanswered
wilsonowilson
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I created a library, @altano/satori-fit-text, that solves this problem. It turns rendering into a two step process:
I have a write-up with examples here: https://alan.norbauer.com/articles/satori-fit-text |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to render a large paragraph of text with satori.
But, AFAIK, there's no way to dynamically adjust the text size to make sure it doesn't overflow the image, at least not without the DOM.
Does anybody have any ideas to achieve what I'm going for?
Beta Was this translation helpful? Give feedback.
All reactions