Have text fit and wrap into irregular shape (such as a triangle)?

I am building a basic card editor which has an irregular shape. I want the text to fit inside the card, but I am not quite sure how to approach having it wrap in an irregular shape. Below is an example with a triangle, which would likely work for my problem:

Would anyone know how to get the text to wrap around like in the triangle above? Thanks in advance!

I also have the needs for Text Mesh to wrap around a specific shape. Nobody seems to know a solution?

I found an answer in this post:
https://stackoverflow.com/questions/49445376/unity-how-do-i-flow-textmesh-pro-text-around-an-image

I use this method for text to fit inside a circle. I have a different TextMesh for each Line of text, and connected them all together. Its anoying to setup tho, since you have to adjust every TextMesh if you want change parameters like the font size.