Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fuhrmanator opened this issue Apr 19, 2024 · 1 comment
Open

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

fuhrmanator opened this issue Apr 19, 2024 · 1 comment

Comments

@fuhrmanator
Copy link

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
Copy link
Author

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant