Steppschuh / Java-Markdown-Generator

Java library to generate markdown
MIT License
230 stars 47 forks source link

Add option to limit column width #26

Open frankiedrake opened 2 years ago

frankiedrake commented 2 years ago

I'm currently doing some stuff, where a tables, generated by a library are sent to telegram, and I have quite long string in these tables, so the result looks ugly in telegram. Therefore it'd be nice to have some maxWidth parameter that will result in additional line-breaks in column values that will prevent the row width to be very wide (note that in this case the max-length should not be counted as a max column value length, but on this new parameter)