Edit history

Multi-line code block hides first line if it is next to starting backticks has not been edited, so there are no earlier versions.

Current version | Original by hihi217
Show

Multi-line code block hides first line if it is next to starting backticks

Observed behaviour

test line 1 is hidden from view Note: As far as I can tell, this is intended behavior for Markdown — however Discord Markdown does allow this formatting. This bug report can be denied if this is intentional behavior.

Reproduction steps

  1. Copy code block included in attachments
  2. Paste in message box and send message

Build information

canary build 605 (0f4cfbe), Electron 41.2.2, Windows 10 10.0.19045 (x64), desktop canary 0.0.122, locale en-US

Platform

Windows

Evidence

Code block: ```test line 1 test line 2 ``` screenshot of bug

Details

Expected behaviour test line 1 and test line 2 are in a multi-line code block