markdown-mode
is
pretty good at filling paragraphs overall, but there's one flaw that
really bothers me. If a paragraph contains a line which ends in two
spaces, it only starts filling never fills that line.
For instance, take the following example, where the second line ends in two spaces.
If I hit M-q right here at the start, this line will get broken into two, but the others won't.
If I hit M-q right here only the NEXT line will get split. All because this line here ends in two spaces.__
If I hit M-q right here, this line will get broken into two, but the others won't.
The example explains itself. Even If I hit M-q
at the start of each line, I'm still left with this:
If I hit M-q right here at the start this line will get broken into
two, but the others won't.
If I hit M-q right here only the NEXT line will get split. All because this line here ends in two spaces.__
If I hit M-q right here, this line will get broken into two, but the
others won't.
What I would like to have is this:
If I hit M-q right here at the start this line will get broken into
two, but the others won't. If I hit M-q right here only the NEXT line
will get split. All because this line here ends in two spaces.__
If I hit M-q right here, this line will get broken into two, but the
others won't.
Q: How can I get fill-paragraph
to behave like this?
Clearly, markdown-mode
is considering the entire middle line to be a
paragraph separator, when it should be just the spaces at the end.