gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.26k stars 267 forks source link

Example on blockQuoteAttributes usage #43

Closed morad closed 3 years ago

morad commented 3 years ago

Hello,

Can I get an example/tip on how to utilize blockQuoteAttributes func in my SwiftUI. Basically, I am trying to change the background and some font attributes.

Thanks,

Morad

oblank commented 3 years ago

conform MarkdownStyle protocol

func blockQuoteAttributes(_ attributes: inout [NSAttributedString.Key: Any])

this function may help you.