4

The syntax highlighting is bugged for Makefiles.


Highlight.js bug report: (makefile) Syntax highlighting of Makefiles #3878

1 Answer 1

7

That is a bug in Highlight.JS, not in the software that SE has control over. You need to file the bug in the issue tracker of Highlight.js and then wait for them to fix it in a release before SE can upgrade their version.

See the demo or this screenshot for comparison:

enter image description here

The highlighter breaks when you nest a $() inside an another $() like you do here $(shell string="$(strip $1)"; printf "%s" $${string^^})

2
  • 2
    Thanks! I'd wondered whether this was the case and I'm glad you're able to confirm. I'm not sure whether we'll update automatically but if it gets fixed, we can make sure it does.
    – Catija
    Commented Oct 3, 2023 at 17:42
  • 2
    Filed bug report, link is at bottom of OP.👍 Commented Oct 3, 2023 at 18:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .