Highlight line number

Is there any function which take the line number and highlight it ? I am using code mirror 6.
Thanks

lineNumberMarkers is probably where you should start. See for example the way activeLineGutterHighlighter works.

Hey @marijn I checkout what u mentioned, I don’t think it will going to help me as I want when my code mirror loads Highlight or add some text to the lines which I have in my db
eg
I have total 5 lines in my code and in my Db I have line numbers 2 and 3, So, when code mirror loads it automatically highlight the line number 2 and 3 or show some text to it
Sorry for being late
Thanks in advance