Search code examples
githubgist

Github Gists syntax highlight is not working


I am trying to create a gist with Markdown syntax highlight. Unfortunately can't post a screenshot here.

Then I press 'save' and get no syntax highlight applied. The same issue is there with Python code.


Solution

  • Here's the solution:

    You need to place a proper file extension for the filename you are trying to save, for example

    Python RegEx
    

    should become

    Python RegEx.md
    

    Spaces are ignored.