You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can get a code block and surrounding comments context with .getFullText() (line numbers added by me for this example)
3
4 // @ts-expect-error TS(7016) FIXME: Could not find a declaration file for module 'high... Remove this comment to see the full error message
5 import hljs from 'highlight.js/lib/core'
when I do .getStartLineNumber() I get back 5. Is there any way to get the start line of the full surrounding context i.e 3 in this case?
using .getStartLineNumber(true) still results in 5
The text was updated successfully, but these errors were encountered:
I can get a code block and surrounding comments context with
.getFullText()
(line numbers added by me for this example)when I do
.getStartLineNumber()
I get back5
. Is there any way to get the start line of the full surrounding context i.e3
in this case?using
.getStartLineNumber(true)
still results in 5The text was updated successfully, but these errors were encountered: