MacDownApp/macdown

code block rendering bug for square bracket

devope opened this issue · 1 comments

devope commented

Code block with triple backticks is rendering bad:

interface MyObject {
  [key: string]: string;
}
Screenshot 2024-01-07 at 08 07 02
devope commented

If somebody encountered this bug I have found the workaround.
Just insert space ( ) before ;.