MacDownApp / MacDownApp/macdown

Add an option to justify rendered text

Open
#432 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Is it possible to add an option to justify rendered text?

I wanted to do this by adding this to the `GitHub2.css` file:

``` css
p {
text-align: justify;
text-justify: inter-word;
}
```

but couldn't get it to work, also tried adding the `text-align: justify;` property in several different places in the same CSS file with no luck, I'm no CSS guru though... :smile:

Maybe I'm missing something, but anyway I think it would be a good idea to add this option in the app's preferences and have it applied to any selected style, for the non-CSS-speaking users. What do you think? I might be able to come up with a PR after some time researching if you like the idea, but if there's some quick and easy workaround it would be really helpful.

Contributor guide

Open the contributing guide

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 examining GitHub2.css and the existing app preferences, then trace how rendered text styles are selected and applied. Check whether text-align is overridden by the selected style. Done means a user-facing preference justifies rendered text across selected styles, with the existing styling behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
design, desktop
Issue type
Feature
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.