discord-markdown-parser
discord-markdown-parser copied to clipboard
A library to parse discord style markdown into an abstract syntax tree.
Discord recently released some more [markdown formatting options](https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline-#h_01GY0DB14X1PFY87CJFFVHFW4T). Specifically, the following needs to be added: - [x] Headers with `#`, `##`, and `###` - added in #8 - [ ]...
I think it will be better if we can cut the block quotes after two lines (or more) of break lines # Raw  # Preview 
package.json says the license is `GPLv3` but LICENSE is `Apache-2.0`.
When parsing texts such as "\\\_test_", it incorrectly assumes that "test" is an em element. In Discord client, the whole "\_test\_" text is shown as the first _ character is...
Discord list parser, from my testing, works like this: - List items can start with `*`, `{number}.` or `-` followed by any number of spaces. - You can continue a...