BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
14.88k stars 1.87k forks source link

Markdown wraps words in table with long columns #2663

Open nycterent opened 3 years ago

nycterent commented 3 years ago

Source markdown:

image

Preview:

image

Result:

image

So you can see - the result has split words, which is unexpected for markdown, I would expect the same result as in Preview

ssddanbrown commented 3 years ago

Thanks for raising @nycterent.

The final display is really dependent on the styling rules of the table on the page, I don't think there's really any expectations of the behavior for markdown itself.

I'll keep this open with the resolution being aligning the behavior across the preview and end-result, But it might be the case we standardise on the shown result rather than the preview.

For these kind of details, such as long keys you'll need to copy, reformatting the structure to use a code block may suit your needs better.

nycterent commented 3 years ago

probably i am doing something wrong, but using ` or ``` does not solve the problem - the words are still split

On Wed, 31 Mar 2021 at 15:45, Dan Brown @.***> wrote:

Thanks for raising @nycterent https://github.com/nycterent.

The final display is really dependent on the styling rules of the table on the page, I don't think there's really any expectations of the behavior for markdown itself.

I'll keep this open with the resolution being aligning the behavior across the preview and end-result, But it might be the case we standardise on the shown result rather than the preview.

For these kind of details, such as long keys you'll need to copy, reformatting the structure to use a code block may suit your needs better.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BookStackApp/BookStack/issues/2663#issuecomment-811039349, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAATZ3LV7G2CMWWUXIYMXCDTGMKPFANCNFSM42ENCCEA .