-
Notifications
You must be signed in to change notification settings - Fork 0
FAQ
Yes. The live app at mdedit.io is free and requires no account. The source code is open under Apache 2.0 — self-hosting is free and permitted.
No. Open the editor and start writing. Your documents are stored in the browser session.
Yes by default. Documents are stored server-side and tied to your session cookie. Only documents you explicitly share (via the Share menu) are publicly accessible via permalink.
No — the editor requires a server connection (either the live app or your own Docker instance).
PDF export uses Pandoc with either XeLaTeX or paged.js. This is a heavyweight process. Allow 10–30 seconds for complex documents.
If it times out repeatedly:
- Check that the Docker container has enough RAM (PDF export uses ~500 MB per job)
- Reduce
MAX_CONCURRENT_EXPORTSin.envif running on a low-resource server - Check server logs:
docker compose logs -f
Make sure you have a preset set in your YAML front matter:
---
preset: scientific
---Without a preset, the default layout is used. See Layout Presets for all options.
- KaTeX and Mermaid rendering depend on Chromium being available in the container
- Check if
CHROMIUM_BINis set correctly in.env, or leave it unset for auto-detection - Run the smoke test to confirm:
docker compose exec -T md-tree env CHROMIUM_BIN=/usr/bin/chromium node scripts/visual-smoke.js
- Check that you have set a valid API key in
.env(e.g.GROQ_API_KEY) - Restart the container:
docker compose up -d --force-recreate - Check logs:
docker compose logs -f - Verify the key is valid at the provider's dashboard (console.groq.com, platform.openai.com)
Start with Groq — it has a free developer tier and fast inference. See AI API Configuration for all supported providers.
On some Linux desktop environments, Alt+Space is reserved for the window manager. Use Ctrl+Space as an equivalent fallback.
Change the port mapping in docker-compose.yml:
ports:
- "3211:3210" # use 3211 on the hostdocker compose ps # check container status
docker compose logs -f # check for startup errors
curl http://localhost:3210/healthMake sure the ./data directory is mounted as a volume in docker-compose.yml:
volumes:
- ./data:/app/datagit pull origin main
docker compose build
docker compose up -d --force-recreateMake sure your front matter includes:
---
citation-source: embedded
---And that your document contains a valid mdedit-bibliography code block. See Citations and References for the full setup.
Add reference-section-title to your front matter:
---
reference-section-title: References
---If none of the above helps, please open an issue at the GitHub issue tracker. Include:
- The exact error message or behavior
- Browser and OS
- Docker version and container logs if self-hosting