Open Aariq opened 3 months ago
That's not good -
Before we go any further, can you try adding
editor:
markdown:
wrap: 250
to your document? I want to rule out the line wrapping here.
It behaves normally (no splitting of "word") with either
editor:
markdown:
canonical: true
wrap: 250
or
editor:
markdown:
wrap: 250
And just to be clear, the number of letters moved to the next line depends on the number of footnotes in that last bullet point. That feels like it should be a clue, but I have no idea what it means. I.e. with two footnotes you get "wor d", with three you get "wo rd", with four you get "w ord".
Yeah ok, this is definitely a bug in the word-wrapping behavior.
The visual editor code is in quarto-dev/quarto
, so we might want to send this bug there. (I'll do that when appropriate, no action needed on your part)
Bug description
Sorry for the long title, but this one is so weird to describe. In a revealjs document, with cannonical markdown used, when a slide has more than one bullet point and the last bullet has more than 1 footote, the last number-of-footnotes minus 1 letters of the last word of the bullet point get moved to a new line when the document is saved.
Steps to reproduce
Save this document...
And you'll get this:
Expected behavior
Cannonical markdown/visual editor should not split part of a word onto a new line
Actual behavior
Last word gets split with some letters moved onto new line
Your environment
Quarto check output