Aller au contenu

Markdown Rules

Ce contenu n’est pas encore disponible dans votre langue.

Below the list of rules supported by Biome, divided by group. Here’s a legend of the emojis:

  • The icon indicates that the rule is part of the recommended rules.
  • The icon indicates that the rule provides a code action (fix) that is safe to apply.
  • The icon indicates that the rule provides a code action (fix) that is unsafe to apply.
  • The icon indicates that the rule has been implemented and scheduled for the next release.
Rule name Description Properties
useConsistentHeadingLevel Enforce that all heading levels are consistent and ordered.
useConsistentUnicodeBom Require or disallow a Unicode byte order mark at the beginning of a file.
useFencedCodeLanguage Enforce that fenced code blocks specify a code tag (language).
useSingleTopLevelHeading Enforce that a Markdown document has a single top-level heading.
useTopLevelHeading Require Markdown documents to start with a top-level heading.
Rule name Description Properties
noEmptySource Disallow empty sources.

Missing a rule? Help us by contributing to the analyzer or create a rule suggestion here.