JM Tech Power

Guides

Write a README.md that shows on your project page

← All articles Email RSS Atom

Every project page opens on its README tab. Put a README.md in your project's source and it is shown there, turned from Markdown into a tidy page.

Where the README comes from

  1. If you pushed your source with the jm command line tool, the README at the top level of the default branch — the same files the Source tab shows.
  2. Otherwise, the source uploaded for the newest release that has source (on the project's Upload files page). A README at the top of the archive wins; if there is none, one in a folder is used.

A link with ?version= — for example ?tab=readme&version=1.2.0 — shows the README of that release's source instead.

The file names that count are README.md, README.markdown, README.txt and plain README, in any mix of capitals.

What Markdown works

  • Headings (# to ######), paragraphs, bullet and numbered lists, > quotes and --- lines.
  • **bold**, *italic*, `code` and fenced code blocks between ``` lines.
  • Links [text](url) and pictures ![alt](url).
  • Tables, GitHub style: a row of cells between pipes, then a row of dashes. A colon sets the alignment, and \| puts a pipe inside a cell:
| File        | System  |  Size |
|:------------|:-------:|------:|
| setup.exe   | Windows | 48 MB |
| app.dmg     | macOS   | 52 MB |

Raw HTML in a README is not run: it shows as text, and the page is cleaned before it is shown.

Good to know

  • A README from a pushed repository that is larger than 512 KB is not shown; from an uploaded archive, only its first 512 KB is used.
  • With no README, the tab shows your project's description and the tip add a README.md to this project's source and it will render here.
  • If you set a screenshot in Project settings, it shows above the README.

More on source files: Upload your project's source files and Upload a .zip and keep its folders. Your projects are on My projects. More guides at https://jmtechpower.com/articles.

Comments (0)

No comments yet. Be the first to comment!