Vale CMS Need more than a rule playground? Explore

Rule Explorer

Rules beyond prose

Vale reads the markup, not only the sentences. Each rule here is modeled on ones docs teams wrote for themselves. Edit the rule or the sample, and Vale runs again in your browser.

Markup that breaks the build

Caught on the author’s machine, not in a failed deploy.

Leftover merge conflicts

A resolved merge that left its markers behind.

ConflictMarkers.yml
sample.md

Loading Vale…

Modeled on rules from Expo, Hazelcast, Microsoft, CircleCI, and OUTSCALE.

Unclosed code blocks

One missing fence turns the rest of the page into code.

UnclosedFence.yml
sample.md

Loading Vale…

Modeled on rules from Red Hat, and CircleCI.

HTML comments in MDX

MDX rejects `<!-- -->`, and the build stops on it.

MdxComments.yml
sample.md

Loading Vale…

Modeled on rules from StarRocks.

Front matter

The page’s metadata, held to a contract.

A description on every page

Search results and link previews show it.

DescriptionRequired.yml
sample.md

Loading Vale…

Modeled on rules from StarRocks, EDB, and ngrok.

Descriptions that say something

“This page explains…” wastes the one line a search result shows.

DescriptionFiller.yml
sample.md

Loading Vale…

Modeled on rules from StarRocks.

Code blocks

Examples a reader can copy and run.

Copy-pasteable commands

A `$ ` prompt comes along when the command is copied.

ShellPrompts.yml
sample.md

Loading Vale…

Modeled on rules from Infisical, Gardener, and Canonical.

A language on every fence

An unlabeled block gets no highlighting.

FenceLanguage.yml
sample.md

Loading Vale…

Modeled on rules from ClickHouse, Oracle, and Crossplane.

Code blocks that fit

Past 25 lines, link the file instead.

LongCodeBlocks.yml
sample.md

Loading Vale…

Modeled on rules from Canonical, and Rootstock.

Page structure

The shape of a page, not its sentences.

No skipped heading levels

Screen readers navigate by heading level.

HeadingLevels.yml
sample.md

Loading Vale…

Modeled on rules from GOV.UK, and Coder.

A sentence under every heading

Two headings in a row leave a section empty.

StackedHeadings.yml
sample.md

Loading Vale…

Modeled on rules from Hazelcast, Couchbase, Novu, and Rootstock.

Required sections

Every how-to ends with where to go next.

RequiredSections.yml
sample.md

Loading Vale…

Modeled on rules from Yellow Network.

Numbered steps in order

A step numbered twice after an edit.

ListNumbering.yml
sample.md

Loading Vale…

Modeled on rules from Smallstep.

Leaks

What shouldn’t reach the public site.

Internal hostnames

A `*.corp` or `*.internal` host left in an example.

InternalHosts.yml
sample.md

Loading Vale…

Modeled on rules from Oracle.

TODOs with an owner

A TODO that points at an issue gets done.

OwnedTodos.yml
sample.md

Loading Vale…

Modeled on rules from Canonical.

Text pasted from a chat tool

Tracking parameters and citation marks a chat tool adds.

ChatArtifacts.yml
sample.md

Loading Vale…

Modeled on rules from Mintlify.

Units and numbers

House rules for how numbers are written.

Byte units

kB, MB, and GB, written one way.

ByteUnits.yml
sample.md

Loading Vale…

Modeled on rules from Expo.

Hexadecimal case

`0xFFF1`, not `0xfff1`.

HexCase.yml
sample.md

Loading Vale…

Modeled on rules from Matter.