You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, to make a code block in a message, the 3 backticks on each end have to be on a new line.
I don't mind it being that way but when importing messages from slack, slack supports inline code blocks (same with github) and they do not convert correctly.
Is this an intended feature?
Maybe inline full code blocks should be supported?
Example:
This works in chat:
```
{
"code": "block"
}
```
This does not work:
```{
"code": "block"
}```
The text was updated successfully, but these errors were encountered:
I marking here for discussion. I believe that the way it's working at with new parser follows a more strict approach, considering that right after the initial 3 back ticks, a convention is to define the name of the programming language to be rendered above., like so
In addition to user expectations for people who are coming from slack or have been using rocket.chat for years, this also breaks message history for anyone using the new message template. We have years of messages that are still visible in search, but no longer format properly.
Some users also have the legacy message template enabled and can still send messages like this, but they don't format correctly for people on the new message template.
This was marked as fixed in #26388, but it's not as of 5.3.3.
Currently, to make a code block in a message, the 3 backticks on each end have to be on a new line.
I don't mind it being that way but when importing messages from slack, slack supports inline code blocks (same with github) and they do not convert correctly.
Is this an intended feature?
Maybe inline full code blocks should be supported?
Example:
This works in chat:
This does not work:
The text was updated successfully, but these errors were encountered: