markdown visual editor sentence wrap in figure captions #11668
Replies: 1 comment 3 replies
-
The repository for the VSCode extension is https://github.com/quarto-dev/quarto I don't think this enhancement request was already made, but please check the opened issues first before opening one. Note that Another note Alternatively, you could use the cross-reference div syntax which in my opinion is better suited for long caption. Using this syntax should trigger the visual editor line wrapping I believe. ::: {#fig-my-figure}
![](path-to-figure.svg)
**My figure caption**: Captions in academic writing are often long. One sentence/phrase per line is the best. In semantic linefeeds, we trust.
::: |
Beta Was this translation helpful? Give feedback.
-
As someone who tracks manuscript source with git, I'm happy to see the editor option:
It would be nice if sentence wrap could be applied in figure captions as well like:
Currently the VSCode editor converts to:
A somewhat related request is an option to only wrap sections of text that the user edits in the visual editor as opposed to wrapping everything. Without this, it's hard to use the visual editor to make small changes without blowing up the diff.
Beta Was this translation helpful? Give feedback.
All reactions