JDA
JDA copied to clipboard
Feature/small text support
Pull Request Etiquette
- [x] I have checked the PRs for upcoming features/bug fixes.
- [x] I have read the contributing guidelines.
Changes
- [ ] Internal code
- [x] Library interface (affecting end-user code)
- [ ] Documentation
- [ ] Other: _____
Closes Issue: NaN
Description
Adds support for Discord's planned small-text format (-# text) to the MarkdownUtil and MarkdownSanitizer.
I'm sure that I haven't covered everything, so I feel free to point out any missing parts.
This remains a draft until the feature is added and documented by Discord.
I think this is now released, is there anything left to do?
I think this is now released, is there anything left to do?
Mainly a way to sanitize/escape it... Not sure how to implement this...
Can't find motivation in continuing this PR myself. If someone wants to work on it themself, feel free to use (parts of) this PR.