code icon indicating copy to clipboard operation
code copied to clipboard

Color formatting for brackets in Markdown document calculate incorrectly

Open maxengel opened this issue 4 years ago • 0 comments

The "Code" app seems to format pairs of brackets from outside-in, which works well for coding. However, when creating a to-do list via Markdown with [ ] where the line contains a link, the first bracket will be black but the second will be grey.

Steps to Reproduce For example with: * [ ] File bug report for [Code](https://github.com/elementary/code/issues/new)

Expected Result The first and second brackets will be the same color, and the third and fourth brackets will be the same color

Actual Behavior The first and fourth brackets have matching colors, and then the second and third brackets have matching colors

Screenshot of Issue Screenshot from 2021-04-18 13-48-29

maxengel avatar Apr 18 '21 17:04 maxengel