Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lineStart in Table Extension does not yield the correct line #1037

Closed
bwl21 opened this issue Jul 23, 2024 · 0 comments · Fixed by #1038
Closed

lineStart in Table Extension does not yield the correct line #1037

bwl21 opened this issue Jul 23, 2024 · 0 comments · Fixed by #1038
Assignees
Labels
bug Something isn't working right

Comments

@bwl21
Copy link

bwl21 commented Jul 23, 2024

Version(s) affected

"2.4.2"

Description

Using the Table extension, the Table node does not report the correct startLine.

How to reproduce


## Tabelle

| Datum | Programm | Ort |
| --- | --- | --- |
| 22. Mai | Anreise | Eichberg |
| 23. Mai | Programm | Eichberg |
| 24. Mai | Programm | Eichberg |
| 25. Mai | Programm | Eichberg |

startLine should be 4 but is 5
endLine should be 9 it is 9

Node after parsing is:

2024-07-23 at 14 59 20_CleanShot_IntelliJ IDEA@2x

Possible solution

As of now I work around it in my renderer by subtracting 1 from the start line

Additional context

No response

Did this project help you today? Did it make you happy in any way?

oh yes ! it is a great project which helps to get full control over the Markdown processing

@colinodell colinodell added the bug Something isn't working right label Jul 24, 2024
@colinodell colinodell self-assigned this Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants