avh4 / avh4/elm-format

elm-format aggressively removes documentation double-spaces

Open
#593 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Haskell
Stars
1.3k
Forks
147
PR merge metrics
No merged PRs in 30d

Description

I'd like, to achieve a quoting effect with new-line in a comment.
e.g.

```elm
{-|
> Blah.
> More.
-}
```

To achieve:

> Blah.
> More.

Instead, elm-format removes the double wire space so I'm left with:

> Blah. More.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with the Elm documentation comment shown in the report and inspect how elm-format handles spaces before a newline in documentation comments. Done means formatting preserves the double spaces so the generated text retains the intended quoted line break.

Written by the indexing model from the issue text.

Assessment

Tech stack
elm
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.