IDML Reference / meta
Style guide
The rules every page of the IDML reference follows — voice, page shape, examples, tables, badges, frontmatter and links — and the visual identity.
Reviewed against engine v0.71.6
This style guide is the short list of rules every page in the reference is held to.
In short The rules keep a hundred pages written by different hands reading as one reference, and they let a reviewer check any page at a glance. They cover the voice (describe the format; Paged behaviour goes in a marked aside), the page shape (a bold definition, an "In short" summary, a body in one Diátaxis mode, an FAQ), how examples, attribute tables and support badges are produced, and the frontmatter that keeps a page honest over time.
Voice
- Describe the format. A page states what IDML contains and what InDesign does with it, in a neutral voice. "Our parser…" and "the renderer…" do not belong in the body.
- Paged goes in an aside. What Paged does with a construct is written as a short blockquote starting with In Paged:, usually ending in a support badge.
- Every rule has a source. A behavioural claim comes from a file opened in InDesign or from the engine's measured code, never from the specification and never from memory. If a claim cannot be confirmed, cut it or say what is unknown. See the clean-room protocol.
- Short sentences. If a sentence has two ideas, it is two sentences.
- One concept per page. If a page wants to be two things, it is two pages.
- No marketing voice. This is a technical reference, not a pitch.
Page shape
- Open with a one-line bold definition, then an "In short:" summary of two to five sentences.
- Write the body in the page's one Diátaxis mode: tutorial, how-to, reference or explanation.
- End with "Frequently asked questions": at least three questions, each a bold
**Question?**line followed by an answer paragraph. They feed the page's FAQ structured data, so each answer must stand on its own.
Examples, tables and badges
- Examples are imported, never inlined. A snippet is a package in
examples/, embedded with<ExampleEmbed example="…">. There are no inline XML code blocks. Parts are spelled the way InDesign writes them: the font as a typedAppliedFontproperty,<Br/>as the paragraph mark, tabs as	. - Attribute tables are generated.
<AttrTable element="…" />renders from the element reference and links to the element's page. A hand-written table is only for a vocabulary that is not one element's attributes, such as a list of enum values. - Badges come from the registry.
<SupportBadge feature="layout-model.spreads-pages" />reads Paged's status live from the feature registry. Do not type a status by hand. - Body, table, badge and FAQ agree. A page whose body says "supported" while its FAQ says "not yet" is wrong in one place. When a fact changes, change it everywhere on the page.
Frontmatter
Every page declares, in frontmatter:
tier: one of 🟢 beginner, 🟡 intermediate, 🔴 pro; the difficulty label is derived from it;diataxis: one of tutorial, how-to, reference, explanation;status: stub, draft or published;description: at most 160 characters, used in search results;describes: one to three registry feature ids the page depends on;reviewed: the date its prose was last checked against those features. When a feature's evidence is newer, the build flags the page as stale.
Links
Write links site-neutral: /docs/idml/<chapter>/<page> for this reference and
/docs/paged/<…> for the Paged documentation. The build maps each to the right site. A
page that moves keeps its old URL alive with a single permanent redirect.
Visual identity
A neutral, restrained technical reference, not a product surface. Reserved palette, monospace for XML, generous whitespace. Diagrams earn their place.
Frequently asked questions
What is the required shape of a page? A one-line bold definition, an "In short" summary of two to five sentences, a body in one Diátaxis mode, and a "Frequently asked questions" section of at least three question-and-answer pairs.
Where does Paged-specific behaviour go? In a short aside that starts with In Paged:, usually with a support badge. The rest of the page describes the format for any reader.
Why are examples and attribute tables generated rather than typed? So they cannot drift. Examples are real packages checked by the engine on every build and by InDesign, and attribute tables come from the element reference built from real documents.
How does a page stay current?
Its describes list names the features it depends on and reviewed records when it was
last checked. When a feature changes after that date, the build flags the page.
Glossary
An A–Z glossary of IDML terms, each defined in a sentence or two, with a stable link and a pointer to the page that covers it in full.
How the census counts
What the element reference's counts measure — which documents, when, what a count means — and the rule that decides which observed elements get an entry.