marked icon indicating copy to clipboard operation
marked copied to clipboard

[BUG] missing space

Open DonaldDai opened this issue 4 years ago • 1 comments

check this preview link

There is an indent missing in line 2.

I've seen a similar issue #885, but the issue closed with no solution presented.

DonaldDai avatar Apr 01 '20 09:04 DonaldDai

looks like it thinks the code is part of the list item because there is no blank line between them so it is removing two spaces before every line.

If the code is part of the list item it should be indented two spaces which would give the desired result.

- obj
  ```js
  const a = {
    b: {
      C: "c",
    },
    a: "a",
  };
  ```

demo

UziTech avatar Apr 01 '20 15:04 UziTech

This was fixed in v4.0.17

UziTech avatar Sep 10 '22 04:09 UziTech