So I actually worked out most of the kinks as you did. You had some slightly improved solutions though so thank you for that!!
I'm now trying to get nested lists working.
Some issues I'm personally still working through.
- Not sure when/where to use
NSTextListElement
- Figured it might be necessary for nesting?
- Also noticed it had an API for styling the marker, so I wanted to try it out – no luck so far
- It seemed to break things if I include it, but I'm sure I'm just using it wrong
- No examples examples of this anywhere AFAICT
- I did get a rough experiment working for nesting
- Seems to be a very manual process so far
- Still couldn't control indentation AFAICT
- You essentially nest the [list] but I'm sure I'm still not using it right
If you happen to try any of the above and have feedback, I'd love to hear about your explorations!
So I actually worked out most of the kinks as you did. You had some slightly improved solutions though so thank you for that!!
I'm now trying to get nested lists working.
Some issues I'm personally still working through.
NSTextListElementIf you happen to try any of the above and have feedback, I'd love to hear about your explorations!