Is it possible to fix Markdown Tables with javascript?

I want to resolve somehow the following unsightly situation:

Please notice the super narrow columns that somehow make room for the larger body of text in othr columns but end up in an unsightly and difficult to read headers text.

I would like to keep the headers split in words unless a word is, let’s say larger than 10 characters, in which case it can be split.

Is such a thing possible or the code of Logseq would have to support this logic?

Explore css attribute white-space