I wrote a README.md with parts of code and I want to highlight those parts with the right colors.
One of this code is a .gitignore code, that I would like to integrate to my README.md. But I can't have the good linguist highlight for this, which colorize in green my comments for example.
I have searched some languages detected by GFM but I am not satisfied by the results.
Can someone help me to find the good linguist ?
P.S. : I also want to question for a DockerFile, docker-compose in a REAMDE code highlight.
Thanks, MushuLeDragon
For
.gitignorethere is no default linguist available; buyshis the closest match, so you can use that.Example: https://gist.github.com/binki/7e0710d92863276ba39091cb299725bd
And for
DockerFile,docker-composeusedockerfilelinguist. It's the default linguist.