quarto-dev / quarto-dev/quarto
Semantic line breaks in text are removed from markdown when toggling between Source <=> Visual Mode
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Description
Quarto v1.6.36
To reproduce:
- Markdown in Source Mode
This is the first sentence.
Here is the second sentence.
-
Switch to Visual Mode
-
Switch back to Source Mode
This is the first sentence. Here is the second sentence.
I gather that quarto uses pandoc to convert to/from markdown.
The pandoc option wrap=preserve might help.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the round trip from Source Mode to Visual Mode and back using the markdown example in the issue. Inspect the conversion path and the referenced Pandoc wrap=preserve option; done means the explicit line break remains in Source Mode after toggling modes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown, typescript
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100