Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Backslash prepended to underscores in comments #587
I have a type alias definition in the following form:
Elm-format converts the comment to the following:
I understand the usefulness of such rule in the code - but it should be ignored in comments.
This is basically the same issue as #540. The backslash is added because
I'd be happy to accept a PR that makes the markdown formatting smarter so that it only adds the backslash when necessary.
An option you can consider currently is to use backticks around the endpoint path (the current formatter knows that underscores do not need to be escaped in that context).