swift-markdown-ui icon indicating copy to clipboard operation
swift-markdown-ui copied to clipboard

Links styling

Open alexisbronchart opened this issue 3 years ago • 4 comments

I'd like to be able to customise links (font, color, ...) how can I do this? MarkdownStyle doesn't seem to allow it.

alexisbronchart avatar Jun 27 '22 12:06 alexisbronchart

At the moment, you can use the .accentColor(_:) modifier to change the color of the links.

gonzalezreal avatar Jul 05 '22 13:07 gonzalezreal

I'd love to have a way to remove the underline from links. Is that possible?

yonaskolb avatar Jul 07 '22 12:07 yonaskolb

MarkdownUI 2.0, currently under development, will support themes allowing link customization among other things.

gonzalezreal avatar Sep 09 '22 07:09 gonzalezreal

Looking forward to it, we are rewriting an app where there is html styled text from the backend being changed to markdown. We have 2 things we can't achieve currently. Using a custom font, and using different fonts for header and body. Gotta love designers:) We are scanning the attributedString looking for traits and substituting it manually, would love to have MarkdownUI handle these cases for us too. #featurerequest

RickiG avatar Sep 14 '22 10:09 RickiG

Solved in MarkdownUI 2.0: https://github.com/gonzalezreal/swift-markdown-ui/releases/tag/2.0.0

gonzalezreal avatar Jan 22 '23 17:01 gonzalezreal