MacDownApp / MacDownApp/macdown
Add an option to justify rendered text
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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