I want to post a question with a significant chunk of Makefile code, but the preview given from my code isn't very exciting, and it highlights seemingly random words here and there.

The seemingly-authoritative What is syntax highlighting and how does it work? doesn't list Makefile as a supported language, but https://github.com/google/code-prettify does. There is an existing makefile tag. Is it possible to add support for the Makefile language to the Stack Exchange servers' instance of Google Code Prettify?

  • are you sure there is a specific prettifier for Make - files? Because I can't find an explicit implementation for that in the GitHub repo. Did you try, surrounded by empty lines, this <!-- language: lang-default --> before your code block to see how it looks? – rene Jan 30 '17 at 12:53
  • What tags did your question have? – DavidPostill Jan 30 '17 at 22:35

You must log in to answer this question.

Browse other questions tagged .