Rewrap icon indicating copy to clipboard operation
Rewrap copied to clipboard

Won't wrap email text pasted in a Quarto listing (code fence)

Open fuhrmanator opened this issue 1 year ago • 1 comments

Rewrap 1.16.3 in VSCode...

I have some plain text I want to wrap and it doesn't seem to work. It's in a markdown file (filetype is Markdown or Quarto, I can toggle).
CoPilot suggested this plug-in to me - I see it working in comments in a LaTeX file, so I know it's loaded, but it does absolutely nothing to wrap a long paragraph in a Quarto listing (I'm showing an email as a Listing in Quarto and want to wrap the paragraphs). I tried commenting them in Markdown (ctrl-/) but it doesn't do anything even when the paragraphs are a long comment.

```{#lst-my-listing lst-cap="caption is here"}
From: Me
To: Someone
Subject: blah

Here is a really long line that I'd like to wrap. Here is a really long line that I'd like to wrap. Here is a really long line that I'd like to wrap. Here is a really long line that I'd like to wrap. Here is a really long line that I'd like to wrap. Here is a really long line that I'd like to wrap. Here is a really long line that I'd like to wrap. Here is a really long line that I'd like to wrap. Here is a really long line that I'd like to wrap. Here is a really long line that I'd like to wrap. Here is a really long line that I'd like to wrap. Here is a really long line that I'd like to wrap. Here is a really long line that I'd like to wrap. Here is a really long line that I'd like to wrap. Here is a really long line that I'd like to wrap. 

```

What am I missing? This extension has nothing but 5 stars so I know it's either my use-case or a conflict with other extensions.

fuhrmanator avatar Apr 19 '24 20:04 fuhrmanator

I also tried copy/pasting the paragraphs in an empty file. No dice. If I change it to LaTeX and then make it a comment, it works. But this seems like such a stretch...

fuhrmanator avatar Apr 19 '24 20:04 fuhrmanator