18

I have noticed that many different file types are used for GitHub READMEs. The most common ones are .md and .rst

After looking at the GitHub documentation and the help page I found no information on which file types are allowed.

I am just looking for a list of the types so I can figure out which types I can use for my next README.

BenMorel
  • 34,448
  • 50
  • 182
  • 322
William V.
  • 515
  • 5
  • 24
  • 1
    I found it supports no file extension and also .html – Hayden Thring Sep 29 '20 at 04:29
  • @HaydenThring Yes, the Markdown renderer appears to be quite flexible, but I don't believe that mixing HTML in with Markdown is recommended as per the 'Markdown Style Guide' if there is such a thing. – William V. Oct 07 '20 at 02:52
  • 1
    I was a bit quick to post, as while it will display it, i cant seem to get it to interpret the html codes. – Hayden Thring Oct 10 '20 at 22:39

1 Answers1

21

GitHub uses its own Markup library to render files like READMEs. It supports:

TAbdiukov
  • 1,185
  • 3
  • 12
  • 25
mipadi
  • 398,885
  • 90
  • 523
  • 479