Markdown Blockquote Handling in a less annoying way. #81
LambdAurora
started this conversation in
Feature Suggestions
Replies: 1 comment
-
This would be great because we use emoticons like that frequently aha |
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
Uh oh!
There was an error while loading. Please reload this page.
-
So, what's the actual issue?
Revolt Chat uses the
markdown-it
library for markdown rendering, but it has a flow in its default blockquote handling.But first, what is a markdown Blockquote?
A markdown block quote can be made by using the character
>
then typing the stuff to be quoted next.Example:
Rendered:
As you may see, if no space is included, it will still consider it a quote, which becomes a bit annoying in a discussion app and is a bit different from Discord's "markdown" handling.
Discord will require a space/tab for it to consider a quote, which is great for some emoticons like
>w<
.The issue is with the current handling
>w<
will be considered a quote ofw<
, and requiring users to type a backslash before is a bit annoying and reduce the speed of typing.Ok, but how do we solve it?
To solve this, Revolt would need to require that space/tab, this can either be achieved by overriding entirely
markdown-it
's block quote handling, or maybe it includes an option to require a space/tab but I'm sadly not aware of this currently.I hope this can be considered in the future!
Beta Was this translation helpful? Give feedback.
All reactions