stig

Paste any GitHub markdown file or gist URL — get back a clean, scientific-paper-style rendering.

How it works

Take any of the URLs below, replace the host with stig.sh, and you get the rendered version. The path stays exactly the same.

github.com/foo/bar/blob/main/README.mdstig.sh/foo/bar/blob/main/README.md

raw.githubusercontent.com/foo/bar/main/x.mdstig.sh/foo/bar/main/x.md

gist.github.com/alice/abc123…defstig.sh/alice/abc123…def

Try one

Configuration

Drop a stig.json at the root of your repo (alongside README.md) to customize how stig renders your docs. All fields are optional and the file is fetched fresh on every render, with no rebuild step.

FieldTypeDefaultEffect
titlestringfirst H1Override the page / OG title
descriptionstringfirst ~200 charsOverride the OG / meta description
sidebar{text, path}[]Custom left-margin nav (paths are repo-relative)

Example:

{
  "title": "My Project",
  "description": "A short tagline for OG cards.",
  "sidebar": [
    { "text": "Introduction", "path": "README.md" },
    { "text": "Setup",        "path": "docs/setup.md" },
    { "text": "API",          "path": "docs/api.md" }
  ]
}

Different branches / tags can have different config. stig fetches stig.json at the same ref as the document being rendered. Gists are self-describing (their file list becomes the sidebar automatically), so config there is ignored.