PptxGenJS
PptxGenJS copied to clipboard
Add multiple line text in Table column
Is there a way to add multiple line of text's in columns?
I have a table with 3 columns and 5 rows. One of the column values are like points. (multiple lines) Ex: Line one Line two ... Line nnn
I need to display as points inside the column, Is there a way to add the multiple line text's inside the column?
Hi,
Sure, just use either standard line break: "\r" or "\n".
slide.addTable( ['Line 1\nLine 2\nLine 3'], { x:2, y:3, w:4 });
I've updated the README as well.
Thanks!
Thank you very much @gitbrent