marvhen / ReflowMarkdown

Reflow paragraph extension for vscode
https://marketplace.visualstudio.com/items?itemName=marvhen.reflow-markdown
MIT License
11 stars 4 forks source link

Support separate paragraphs inside blockquotes #8

Open alonso-herreros opened 6 months ago

alonso-herreros commented 6 months ago

When triggering Reflow Markdown inside a blockquote with multiple paragraphs (indicated by a line with simply >, possibly preceded by spaces), the entire blockquote is reflowed, breaking the paragraphs.

Expected

When the cursor is on a paragraph inside a blockquote and the Reflow Markdown command is triggered, only the paragraph under the cursor is reflowed

Observed

The entire blockquote is reflowed, ignoring separate paragraphs

Note: Blockquote reflowing is done right, adding > on every line

marvhen commented 6 months ago

Thanks for the report! It will probably be a while before I can address it, so if you or anyone else wants to submit a pull request, it would be greatly appreciated!