rhysd / Shiba

Rich markdown live preview app with linter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jump to line on click lint error

mjgpy3 opened this issue Β· comments

I'm loving this tool so far πŸ‘ πŸ‘

On my machine I cannot see the line numbers of the lint errors:

image

It would be nice if it jumped to or highlighted the line and/or jumped to it.

Yeah I agree. Currently it's hard (but not impossible) to implement it because there is no mapping from markdown document to converted HTML document (which HTML element corresponds to specific markdown element?).
We should introduce markdown AST for this feature and I plan to do that for differential DOM update. So I will remain this issue open although it may take long time.