SimonFairbairn / SwiftyMarkdown

Converts Markdown files and strings into NSAttributedStrings with lots of customisation options.
MIT License
1.63k stars 269 forks source link

Indented list color incorrect #72

Closed spike-hue closed 4 years ago

spike-hue commented 4 years ago

Issue

The colors for indented lists are incorrect (unless I am setting the colors incorrectly). We support light and dark mode users can switch between them. Notice in the picture below, that in dark mode, the indented lists don't change colors.

This is what I set in code:

markdown.body.color = .red
Screen Shot 2020-01-30 at 3 58 21 PM Screen Shot 2020-01-30 at 3 58 14 PM
SimonFairbairn commented 4 years ago

The current version doesn't support indented lists just yet but the next version will!

julo15 commented 4 years ago

@SimonFairbairn do you know about how much work it would be to add that support?

i'm actually not seeing bullets being indented at all. (i'm using an unordered list, though.) trying to figure out what my options are at the moment.

julo15 commented 4 years ago

ah interesting.. if you replace space-space-asterisk with tab-asterisk, it actually shows up reasonably in swifty markdown