According to the WWDC 21 Session https://developer.apple.com/videos/play/wwdc2021/10109/
It shows how can we describe custom attributes in markdown as followings:
This text contains ^[an attribute](rainbow: 'extreme').
This text contains ^[two attributes](rainbow: 'extreme', otherValue: 42).
This text contains ^[an attribute with 2 properties](someStuff: {key: true, key2: false}).
So, the first one, I can guess how to create, and last one could archive with describing Value type as a Struct.
However, I don't know how to handle the second case.
CodableAttributedStringKey and MarkdownDecodableAttributedStringKey allow us to override decoding function.
but that decoding function's Decoder can only accept to access to the value which comes from first attribute.
Like rainbow's container.
So how can we take the value in otherValue as 42?