| name | zditor-syntax |
| description | Use when users ask to learn Zditor extended Markdown syntax, fix invalid Zditor markdown, or generate content that must follow Zditor syntax rules. Read references/zditor-syntax.md for the syntax catalog and examples. |
Zditor Syntax
Use this skill for Zditor-specific markdown tasks rather than generic Markdown help.
Workflow
- Read
references/zditor-syntax.md before answering or generating content.
- If the user wants an explanation, answer briefly and include a minimal valid example.
- If the user wants content generation, return valid Zditor markdown directly.
- Prefer the smallest syntax that satisfies the request.
- If the user provides broken syntax, fix it and briefly note the key correction.
- Distinguish raw Markdown from toolbar editing: when generating raw source, encode spaces inside
() as %20 for link-like Zditor syntax; when explaining toolbar workflows, note that toolbar inputs can use normal spaces and the serializer will encode them on save.
Guardrails
- Keep indentation, fences, and delimiters exact.
- Do not invent unsupported syntax. Check the reference when unsure.
- Do not tell users to manually type
%20 into toolbar input fields for link / tip / revision if the issue is about editor-side input.