Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Justify Text - Feature Request #130

Open
waelsaad opened this issue Jun 8, 2023 · 1 comment
Open

Justify Text - Feature Request #130

waelsaad opened this issue Jun 8, 2023 · 1 comment

Comments

@waelsaad
Copy link

waelsaad commented Jun 8, 2023

Hi,

I think this is a basic feature that is missing yet for some reason it seems to be tricky to be implemented correctly.

I have a scenario where I need to parse lots of large XML files and each file needs to be rendered as a readable document. The text needs to be justified. I've implemented text justification using UIKit multiple ways but couldn't get it right. because of performance as the document is large and UITextViews takes time to calculate each of its paragraph content height.

Thanks,

Wael

@QuietMisdreavus
Copy link
Contributor

"Justified text" in the form of text that fills the margins of its container (by the layout engine changing the width of spaces within the text) isn't something that happens in a Markdown library. Generally that happens via CSS added to the output. Did you mean to post this issue to Swift-DocC? If so, i can transfer the issue there for broader discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants