14

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
  • 31,815
  • 47
  • 169
  • 296
William V.
  • 455
  • 8
  • 20
  • 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

14

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

  • Markdown
  • Textile
  • RDoc
  • Org
  • Creole
  • MediaWiki
  • Restructured Text
  • AsciiDoc
  • Perl Pod
mipadi
  • 380,288
  • 84
  • 512
  • 473