Can I create a custom rule? #242
Unanswered
12944qwerty
asked this question in
Q&A
Replies: 1 comment
-
It's been a while but I decided to try creating something myself here. It's not the greatest implementation especially since it uses regex and won't work well for multi decoration purposes, but yeah. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I attempted this with AttributedString but I was unable to get any sort of customization with it. I'm hoping that it's possible with MarkdownUI.
I want to be able to render mentions differently than the rest of the text and the text needs to be replaceable. Similar to how in discord mentions go from
<@id>
to@user
. I need to be able to do something like this as well as customize the background with padding (something I wasn't able to do with AttributedString).Beta Was this translation helpful? Give feedback.
All reactions