Line breaks in code style

  • updated
  • Under review
I'm having trouble getting line feeds to work in a section marked with the "code" style. If you use a hard line break, each line is individually wrapped with the dotted style. If you use Shift+enter to enter a soft line break, it looks fine the editor but the code all runs together when you post.
Sergey Stukov
  • Answer
  • Under review
Give us link to the topic with this issue for further investigation.
The existing content is in a private forum, but I'll demonstrate below:
// First line of code - I'll press Enter
// And the second line appears as a separate block
// If I use Shift+Enter, the code appears as separate lines in a single block// but when the comment is posted, it gets merged into a single line.
 Sign in to leave a comment