Fixed issue with "Pasting formatted text gives double line breaks between list items"

Continuing the discussion from Pasting formatted text gives double line breaks / double new line:

This bothered me a lot because every time I was pasting from, say, type fully, I would get lists that have an extra blank line in between each item. I managed to find a workaround, using the linter plugin. Here is the custom regex:

(?<=^[-*+]|\d+\..*\n)\n+(?=[-*+]|\d+\.)

gm

\n
2 Likes

Thanks for sharing that. :blush:

1 Like


it’s not working