Why I Built VertiWiki: A Zero-Backend, Single-File Markdown Wiki Engine
说明与用途
VertiWiki 是一个单文件的 Wiki 引擎,支持在不需要构建或后端的情况下编辑 Markdown 文件,提供即时渲染和客户端搜索功能。
问题
Developers need a lightweight wiki solution that avoids build steps and backend maintenance while still providing instant rendering and search.
结果
VertiWiki eliminates build steps and backend dependencies, enabling instant client‑side rendering and offline search for markdown wikis.
工作流
- 1. Place VertiWiki bundle (vertiwiki.html) in the root of the markdown folder.
- 2. Add or edit .md files (e.g., navigation.md, index.md, docs/*.md).
- 3. Open vertiwiki.html in a browser or host it on any static web server.
- 4. The browser fetches raw markdown via fetch(), parses with marked, sanitizes with DOMPurify, highlights with prismjs, renders math with katex, diagrams with mermaid, and indexes content with minisearch.
- 5. Use ⌘K or / to search instantly client‑side.
证据
Because the engine runs in the browser, you never need to run npm run build when authoring or updating content
VertiWiki indexes documents dynamically into MiniSearch on the client
- 记录日期: 2026-09-05T17:46:09.517Z