QLMarkdown icon indicating copy to clipboard operation
QLMarkdown copied to clipboard

Code rendering for shell script breaks for dashes

Open relikd opened this issue 4 years ago • 1 comments

I don't know if this issue is related to QLMarkdown or a third party code syntax parser. But a text element in a path that contains a dash will be shown as if it were a command parameter. Even though there is no whitespace before.

screen

relikd avatar Sep 18 '21 21:09 relikd

Yes, this is a problem with the third party highlighting library. Unfortunately shell scripts, due to their syntax, are very complex to process correctly.

sbarex avatar Sep 22 '21 12:09 sbarex