You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have read through #322
Currently, this is how I modify the look n feel of markdown.
By using this method, I can customize things like heading size, heading color, ...
However, I would also like to change the indent distance as discussed in #322
I prefer to perform it via "Theme", so that it will cover all cases.
I believe that, I need to modify https://github.com/gonzalezreal/swift-markdown-ui/blob/c0daf6eb79d97964180f3113868c990bd1c4a007/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift , from
.relativeFrame(minWidth: .em(1.5), alignment: .trailing)
to.relativeFrame(minWidth: .em(0.5), alignment: .trailing)
What I would like to do is, create an entire new ListMarkerConfiguration.swift via copy and paste, so that it will cover everything.
But, how can I apply the new ListMarkerConfiguration into my custom Theme?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions