johnxnguyen / Down

Blazing fast Markdown / CommonMark rendering in Swift, built upon cmark.
Other
2.24k stars 319 forks source link

How to style individual components? #303

Open SilverMarcs opened 2 months ago

SilverMarcs commented 2 months ago

Not really a feature request but was wondering if there is a straightforward way to style entire code blocks or block quotes.

With the Styler included, customisation is limited to only whats possible with NSAttributedStrings. But if I wanted to lets say have a custom container view around code blocks, how can I achieve that?