monty-python
monty-python copied to clipboard
fix: improve markdown list handling
Fixes https://canary.discord.com/channels/755868545279328417/1093642705759899678, rewriting/fixing the (still fairly simple) codeblock detection in the process.
The first commit is a revert, the diff becomes much more readable by skipping it.
deferring to when new markdown is released by Discord.
deferring to when new markdown is released by Discord.
given they released it an unreleased it, i'll be adding this as part of a configuration option internally with both old and new styles
@shiftinv would you please update this pr to follow the logic in https://github.com/onerandomusername/monty-python/commit/797738ba98f95dec59f4f3bc18020016f59a6c1f
when constants.DiscordFeatures.extended_markdown is true, then we should use discord's new markdown implementation if that's false, we should use a simplified markdown implementation.