A table works well when every property has a short description, a type, and a default.
It becomes harder to use when one property needs a list of allowed values, another needs a code example, and a third needs an explanation of how it interacts with other settings.
Here’s a typical configuration table:
The columns make the properties easy to compare. But as descriptions grow, the table becomes wider or its cells become long, narrow paragraphs. Lists and code examples are also awkward to maintain inside Markdown table cells.
Give each property its own block
A description list pairs a term with its explanation. For configuration documentation, the property name becomes the term, followed by its description and relevant fields.
You can also use headings to create the same layout. For an application connecting to PostgreSQL, the reference might look like this:
postgresql.connection.hostname
The hostname of the PostgreSQL server.
Required
Type: String
Example: localhost
postgresql.connection.port
The port on which PostgreSQL is running.
Type: Integer
Default: 5432
postgresql.connection.sslmode
Determines whether to use SSL and the level of verification required.
Type: String
Default: prefer
Available values:
- disable: SSL is not used for the connection.
- allow: First attempts a non-SSL connection. If that fails, attempts an SSL connection.
- prefer: First attempts an SSL connection. If that fails, attempts a non-SSL connection.
- require: SSL is used for the connection.
Let the details vary by property
The hostname needs an example. The port needs a default. The SSL setting needs a list explaining its values.
Each block can contain the information that property requires without adding columns to every other entry. Longer explanations, warnings, and code examples can sit directly below the property they describe.
Keep the recurring fields in a consistent order so readers can scan between entries.
Implementing the layout
The markup depends on your documentation framework. Description lists, headings, or a reusable theme component can provide this structure. A plugin or custom extension may help, but it isn’t always necessary.
Give each property a stable anchor so readers can link directly to it. Check how your framework creates those anchors rather than assuming a property name automatically becomes a working link.
Examples worth exploring:
Conclusion
Tables remain useful for comparing short, uniform fields. For a larger reference, you can combine both formats: a compact overview table linking to detailed property blocks.



