elementary / elementary/code

Prevent removing trailing spaces on certain documents

Open
#617 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
521
Forks
118
Avg merge
1d 8h
Merged PRs (30d)
14

Description

When writing in Code, it's usually useful if trailing spaces are removed, but when writing in [Pandoc's Markdown](https://pandoc.org/MANUAL.html#pandocs-markdown), two trailing spaces are a symbol for a new line.

It would be very useful if there was a way to disable deleting trailing whitespaces for certain file types, like _.md_.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the trailing-whitespace removal behavior and how Markdown file types are identified; done means trailing spaces remain in the requested document types while removal continues for other documents.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
tooling
Issue type
Feature
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.