gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.25k stars 268 forks source link

horizontal line elements `***` don't render correctly when centred #99

Closed bartreardon closed 1 year ago

bartreardon commented 2 years ago

when rendering a markdown document, if I apply a .multilineTextAlignment(.center) modifier, the text will center just fine but but horizontal lines *** start at the center point and are not centered.

example centred: image

example left justified: image

gonzalezreal commented 2 years ago

I will look into this. Thanks for reporting it.

gonzalezreal commented 1 year ago

Hey @bartreardon,

The fix for this issue will be included in the next release.

Thanks!