quarto-dev / quarto-dev/quarto

Semantic line breaks in text are removed from markdown when toggling between Source <=> Visual Mode

Open
#605 1 comment 0 reactions 0 assignees View on GitHub

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:

  1. Markdown in Source Mode
This is the first sentence.  
Here is the second sentence.
  1. Switch to Visual Mode

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.