LilyChess documentation
Reference for the formats LilyChess reads and writes: how to write a course page, how to export, edit (by hand or with an AI) and re-import a course, and what the PGN and FEN support covers. The documentation is available in English only.
Course authoring
Course pages - structure and Markdown
How a LilyChess course page is written - the supported Markdown subset and the syntax shared by all special tags.
Course pages - the diagram tag
Reference for the ::diagram tag - attributes, annotations (arrows and colored squares) and the server-side validation rules.
Course pages - resources, actions, page links and video
How to embed repertoires, puzzle suites and games, link to other pages and add YouTube videos in a LilyChess course page.
Course pages - publishing, limits and error messages
Draft and published states of a course page, size limits, the error messages returned when saving, and what the AI Coach sees of a published page.
Multilingual courses
Base language, translated titles, language blocks in pages, translated diagram comments, what readers see, and how translations travel in import and export.
Sharing and joining courses and classes
Visibility, share links, invitation codes, the Join and Request to join buttons, pending requests and what a visitor sees before joining.
Import and export
Course import/export - the single-file format
Reference for the LilyChess single-file course format (.md) - structure, fields, separators and tips for editing a course with an AI.
Course import/export - formats, modes, ZIP and errors
The two course exchange formats (single file and ZIP), the references and resources export modes, limits, the import flow and the common report errors.
Updating an existing course from a file
How to apply an exported and edited course file to an existing course - matching by id, statuses, conflicts, backups and what is never changed.
Writing and updating a course with an AI
A practical workflow and checklist to have an AI write or edit a LilyChess course through the import/export file, and how to fix import errors.
PGN and FEN
PGN - supported syntax and limits
What the LilyChess PGN parser accepts - notations, annotations, variations, tags, Chess960 - and what it rejects, with the error types and how to produce a reliable PGN.
How PGN is used in LilyChess
PGN in game upload, repertoire import and export, custom puzzle suites built from a PGN, and game export.
FEN - accepted formats and validation
The FEN position format, what LilyChess validates and what it does not, Chess960 FEN, position editor and image links.