-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically close code tags #170
Comments
Also, it should be possible to quote in text
|
Potential complication; you need to be able to add a language directly after the code-block opening tags, for syntax highlighting. Not sure if that'd become a potential edge case in the no-newline scenario. |
I don't see any complications with that - it's a question of implementation. All you have to do is parse the text right after ``` and if it's a key-word (e.g. |
I like the inline
GitHub renders it just fine right here! |
@esambo Isn't that already what Rocket.Chat is using anyway? The language specification method I described is from GitHub Markdown also. |
Tested with and var a = b;
window.alert('test'); or even window.alert('test'); |
* Deactivate Request Closing Comments * Deactivate closing comment for Live-Chat * Create the swal config more nicely * text translation and mergin object properties * incl. setting to config role and roll back to using _ for object mergin * minor naming adjustments
When using ``` to open a block of code, it's easy to forget to close it again. It'd be helpful if a missing closing ``` would be automatically inserted upon sending a message.
The text was updated successfully, but these errors were encountered: