Skip to content
FeaturesPricingBlogDownload

← All posts

How to run a team wiki as a folder of Markdown files

Run a team wiki as a folder of Markdown files in Git: where to host it, a folder layout and page template, links, search and keeping pages from going stale.

Diagram card on a light background showing a wiki folder with Home.md, team folders and linked Markdown pages kept in a Git repository

A Markdown wiki is a team wiki stored as a folder of .md files, usually in a Git repository: one page per file, folders for each area, a Home.md or index.md as the front page, and relative links between pages. Anyone can read it in any editor, changes have a full history, and the same folder can be browsed on GitHub or GitLab, published as a website, or searched with grep. The trade-off is that editing needs either Git or a web editor, which suits technical teams better than everyone in a company.

This guide covers where such a wiki can live, a layout and page template that hold up as the wiki grows, and the habits that keep pages current.

Where can a Markdown wiki live?

There are four common homes, and all of them keep the pages as plain Markdown you can take elsewhere later.

Option How people edit Good fit Watch out for
GitHub or GitLab wiki Web editor, or clone the wiki's own Git repo Wiki next to one project Separate from the code repo; limited structure
docs/ or wiki/ folder in a repo Pull requests, or the web editor Engineering teams that review changes Every edit goes through Git
Repo plus a static site Pull requests; readers use the site A wiki people outside the team read Needs a build step
Shared synced folder Any Markdown editor Small teams without Git Conflicts when two people edit one file

Wiki engines such as Wiki.js can also sync their pages to a Git repository as Markdown, which gives non-technical editors a browser interface while the files stay in Git.

How does a GitHub wiki work?

Every GitHub repository can have a wiki, and GitHub's documentation (checked November 2026) describes it as "a section for hosting documentation." The wiki is its own Git repository, separate from the code, which you can clone and edit locally:

git clone https://github.com/OWNER/REPO.wiki.git

Things to know:

  • Home.md is the front page. A _Sidebar.md and _Footer.md add a custom sidebar and footer to every page.
  • Pages can link to each other with wiki syntax such as [[Release process]], as well as normal Markdown links.
  • GitHub sets a soft limit of 5,000 files per wiki and recommends GitHub Pages for larger ones.
  • Search engines "will only index wikis with 500 or more stars that you configure to prevent public editing."
  • Some Markdown features differ from repository files; GitHub notes, for example, that "Footnotes are not supported in wikis."

GitLab wikis work the same way: a separate Git repository behind each project's wiki, editable in the browser or as a clone.

How should you organize the folder?

Organize by the questions people come with, usually by team or area, and give every folder an index page. Keep the depth to two or three levels so nothing is hard to find.

wiki/
  Home.md
  onboarding/
    index.md
    first-week.md
    accounts-and-access.md
  engineering/
    index.md
    release-process.md
    on-call.md
    runbooks/
      database-failover.md
      rotate-api-keys.md
  product/
    index.md
    roadmap.md
  decisions/
    2026-09-14-move-to-postgres.md
    2026-11-02-drop-ie-support.md
  archive/

Conventions that help:

  • Lowercase, hyphenated file names. They become URLs if you publish the wiki, and they sort predictably.
  • One topic per page. "On-call" and "Database failover" are two pages, linked to each other.
  • Date-prefixed decision records. A decisions/ folder with one file per decision keeps the reasoning that is otherwise lost in chat.
  • An archive/ folder. Move outdated pages there instead of deleting them, so old links can be followed and history stays searchable.

For more on folders, names and index pages in general, see how to organize Markdown notes.

What should a wiki page template include?

Every page should say who owns it and when someone last checked it. Those two facts are what readers use to decide whether to trust a page.

---
owner: platform-team
reviewed: 2026-11-20
---

# Release process

How a change goes from merged to production.

## When to use this

Every release of the API and the admin app. Hotfixes follow
[Hotfix process](hotfix-process.md) instead.

## Steps

1. Confirm the main branch is green.
2. Tag the release: `git tag v2.4.0 && git push --tags`.
3. Watch the deploy dashboard for 15 minutes.

## If something goes wrong

See [Roll back a release](runbooks/roll-back-a-release.md).

## Related

- [On-call](on-call.md)
- [Changelog](../product/changelog.md)

In a repository, GitHub shows front matter as a small table at the top of the rendered file, so the owner and review date are visible to readers. The same fields are easy to search for and easy for a script to read.

How should pages link to each other?

Use relative Markdown links, such as [On-call](on-call.md) or [Roll back](runbooks/roll-back-a-release.md). They work when the folder is browsed on GitHub or GitLab, in a local clone, and in most static site generators. Wiki-style [[Page]] links are shorter but only work where the wiki engine supports them, so they break if you move the pages. The Markdown links page covers relative paths and links to headings.

When you rename or move a page, search the folder for the old file name and update every link in the same change. A link checker in CI catches the ones you miss; the setup is the same as for Markdown linting.

How do people find things in a Markdown wiki?

Through three routes: index pages, search, and, if you publish the wiki, the site's navigation.

  1. Index pages. Home.md links to each area's index.md, and each index lists its pages with one line on what each covers.

  2. Search. On GitHub, repository search covers the files. Locally, any editor's folder search works, or the command line:

    grep -ril "vpn" wiki/
    
  3. A published site. Running the folder through a static site generator adds a sidebar and full-text search for readers who never open Git. See how to turn Markdown into a website.

How do you keep a wiki from going stale?

Make staleness visible, then give each page an owner who fixes it. A wiki rots when nobody knows which pages are still true.

  • Review dates. Search for reviewed: 2025 to list every page nobody has checked in over a year.

  • Last change from Git. This lists Markdown files by the date they last changed, oldest first (it assumes file names without spaces):

    for f in $(git ls-files 'wiki/*.md'); do
      echo "$(git log -1 --format=%cs -- "$f") $f"
    done | sort | head -20
    
  • Link wiki updates to work. When a process changes, the pull request or ticket that changes it includes the wiki edit.

  • Archive, do not delete. Move retired pages to archive/ with a line at the top saying what replaced them.

  • A quarterly pass. Each owner spends half an hour on their pages: confirm, update or archive.

Editing a Markdown wiki in Noteline

Noteline, which we make, opens a wiki folder or a cloned wiki repository (Cmd+O on a Mac, Ctrl+O on Windows and Linux) and lists its Markdown files in the sidebar, skipping hidden folders such as .git. Find in Folder (Cmd+Shift+F or Ctrl+Shift+F) searches every page, which also works for finding old reviewed: dates or links to a renamed page. Pages are saved as plain .md files, so Git, GitHub and your site generator see exactly what you wrote. Noteline does not follow links between pages or render [[wiki links]], and committing and pushing stay in Git.

Start with one note. Keep the file.

Open a folder and write. Every note is a plain .md file, with no account to create.

Try desktop free for 14 days ↓Free on iPhone, iPad and Android →

Desktop: 14-day trial, then $9.99 once. Mobile apps: free. No account.

Keep reading

  • Markdown links
  • How to keep AI meeting notes as Markdown files you own
  • AI memory files: what your assistant should remember, kept in Markdown
  • An AI research workflow in Markdown: sources, summaries and claims

A Markdown note editor with everything you need

We’re listening

Tell us what you need or what gets in your way. If something isn’t working, write to us any time.

contact@noteline.io→

Product

  • Download
  • Pricing
  • Features
  • Changelog

Learn

  • Markdown syntax
  • Use cases
  • Blog

Compare

  • vs Obsidian
  • vs Notion

Support

  • Help
  • Support
  • Privacy
  • Terms

© 2026 Notelinecontact@noteline.io