I adjusted the mat-tooltip to be displayed as multiline using the following style in the global CSS:
.mat-tooltip-class-here {
white-space: pre-line !important;
}
Interestingly, this formatting works on span and button elements but not on mat cells.
View on span (Functional):
https://i.stack.imgur.com/474Gn.png
View on button (Functional):
https://i.stack.imgur.com/iqDyV.png
View on table cell (Not functional):
https://i.stack.imgur.com/yisE4.png
I am uncertain about the root cause of this issue. A sample stackblitz can be found here: https://stackblitz.com/edit/angular-4mtwsw