codemirror string coloring multiple lines -


i'm using codemirror javascript code coloring, , when put string in quotes "like this" colored fine.

but when put string line break "like

this" color messed on second line.

is there way make sure color starts first quote , ends second quote, if there line break?

javascript doesn't allow multi-line strings. can use backslash before newline, or use template literals (backtick-quoted strings), if don't, aren't writing valid javascript, , reason why codemirror mode doesn't highlight code expected.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -