markbind icon indicating copy to clipboard operation
markbind copied to clipboard

Highlighting code blocks: leading spaces should be counted

Open damithc opened this issue 1 year ago • 0 comments

Context: I was trying to highlight these leading spaces, but was not able to. image

Consider the following code:

```{highlight-lines="[:4]"}
  abcd
````

Expected: highlight ab and the two spaces in front Actual: highlights abcd

So, it seems the current counting doesn't include leading spaces.

damithc avatar Sep 13 '24 00:09 damithc