Markdown-powered static wiki engine. Write pages in markdown, build to HTML, deploy anywhere.
cd wiki-content
npm install
npm run buildServe locally:
npx serve docs/Open http://localhost:3000/. (The baseHref in the config is set for GitHub Pages deployment. For local testing, change it to /docs/wiki in wiki-content/wiki.config.js.)
wiki-content/
pages/ -- Markdown source files with frontmatter
css/ -- Theme stylesheet
js/ -- Client-side search script
editor/ -- Standalone WYSIWYG editor source
lib/ -- Custom markdown plugins
assets/ -- Images, favicon, etc.
build.js -- Build script
wiki.config.js -- Configuration
docs/
index.html -- Landing page
wiki/ -- Build output (gitignored)
Edit wiki-content/wiki.config.js to set site title, nav links, footer text, and base path.
Create a markdown file in pages/ with frontmatter:
---
title: "Page Title"
category: "category-name"
description: "Short description"
tags: ["tag1", "tag2"]
order: 1
---
# ContentCategories appear as sidebar sections. Pages are ordered by the order field.
The landing page at docs/index.html is standalone. Update it with your own logo and links.
The .github/workflows/deploy-wiki.yml workflow builds and deploys to GitHub Pages on push to main. The built artifact includes both the landing page and the wiki.
| Package | License |
|---|---|
| markdown-it | MIT |
| flexsearch | Apache 2.0 |