Vale CMS Need more than a rule playground? Explore
Package Explorer

Markdown

Markdown linters as Vale styles: the rules of markdownlint and rumdl, named as each tool names them.

vale-cli/Markdown 1 stars 22 downloads v0.1.0 · Dec 5, 2026 latest release stylemarkup Vale ≥ 3.30.0

Getting started

Add it to your .vale.ini, then run vale sync.

Packages = Markdown

[*.md]
BasedOnStyles = Vale

# Also in this package; add the ones you want:
# markdownlint, rumdl

The name installs the latest release each time vale sync runs. To stay on v0.1.0, the release this page describes, give its URL instead:

Packages = https://github.com/vale-cli/Markdown/releases/download/v0.1.0/Markdown.zip

Rules 113

110 warning3 suggestion
  • markdownlint 90 rules
  • markdownlint.BlanksAroundFencesAbove warning metric scope: raw & doc(pre.fenced) Style guide

    Put a blank line before a code block.

  • markdownlint.BlanksAroundFencesBelow warning metric scope: raw & doc(pre.fenced) Style guide

    Put a blank line after a code block.

  • markdownlint.BlanksAroundHeadingsAbove warning metric scope: raw & doc(:heading) Style guide

    Put a blank line before a heading.

  • markdownlint.BlanksAroundHeadingsBelow warning metric scope: raw & doc(:heading) Style guide

    Put a blank line after a heading.

  • markdownlint.BlanksAroundListsAbove warning metric scope: raw & doc(ul, ol) Style guide

    Put a blank line before a list.

  • markdownlint.BlanksAroundListsBelow warning metric scope: raw & doc(ul, ol) Style guide

    Put a blank line after a list.

  • markdownlint.BlanksAroundTablesAbove warning metric scope: raw & doc(table) Style guide

    Put a blank line before a table.

  • markdownlint.BlanksAroundTablesBelow warning metric scope: raw & doc(table) Style guide

    Put a blank line after a table.

  • markdownlint.CodeBlockStyle warning consistency scope: raw & doc(pre) Style guide

    Write code blocks one way on a page: fenced, or indented.

  • markdownlint.CodeFenceStyle warning consistency scope: raw & doc(pre) Style guide

    Fence code one way on a page: with backticks, or tildes.

  • markdownlint.CommandsShowOutput warning script scope: raw & doc(pre) Style guide

    Leave the '$' off commands shown without their output.

  • markdownlint.DescriptiveLinkText warning existence scope: raw & doc(p, li, table, dd, dt, blockquote, :heading) & ~doc(pre) & ~code & ~math Style guide

    Say where the link goes instead of '%s'.

  • markdownlint.EmphasisStyle warning consistency scope: raw & emphasis & ~emphasis.intraword Style guide

    Write emphasis one way on a page: '*' or '_'.

  • markdownlint.FencedCodeLanguage warning occurrence scope: meta.class.language Style guide

    Say what language the code block is in.

  • markdownlint.FirstLineHeading warning existence scope: raw & doc(:first-block:not(h${title_level})::first-line) Style guide

    Start the page with a top-level heading, or give it a title in the front matter.

  • markdownlint.FirstLineHeadingHtml warning script scope: raw Style guide

    Start the page with a top-level heading, or give it a title in the front matter.

  • markdownlint.HeadingIncrement warning metric scope: raw & doc(:heading) Style guide

    Don't skip a heading level.

  • markdownlint.HeadingIncrementFrontMatter warning metric scope: raw & doc(:heading) Style guide

    Don't skip a heading level: the front matter gives the title.

  • markdownlint.HeadingStartLeft warning existence scope: raw & doc(:heading) & ~doc(li) Style guide

    Start a heading at the margin.

  • markdownlint.HeadingStyle warning consistency scope: raw & doc(:heading) Style guide

    Write headings one way on a page: with '#', or underlined.

  • markdownlint.HeadingStyleAtx warning existence scope: raw & doc(:heading) Style guide

    Write a heading with '#'.

  • markdownlint.HeadingStyleAtxClosed warning existence scope: raw & doc(:heading) Style guide

    Close a heading with '#'s.

  • markdownlint.HeadingStyleSetext warning existence scope: raw & doc(:heading) Style guide

    Write a heading by underlining it.

  • markdownlint.HeadingStyleSetextWithAtx warning existence scope: raw & doc(:heading) Style guide

    Underline a heading of the first two levels, and write a deeper one with '#'s.

  • markdownlint.HeadingStyleSetextWithAtxClosed warning existence scope: raw & doc(:heading) Style guide

    Underline a heading of the first two levels, and close a deeper one with '#'s.

  • markdownlint.HrStyle warning consistency scope: raw & doc(hr) Style guide

    Write a horizontal rule one way on a page.

  • markdownlint.HrStyleAsterisks warning existence scope: raw & doc(hr) Style guide

    Write a horizontal rule as '***'.

  • markdownlint.HrStyleDashes warning existence scope: raw & doc(hr) Style guide

    Write a horizontal rule as '---'.

  • markdownlint.HrStyleUnderscores warning existence scope: raw & doc(hr) Style guide

    Write a horizontal rule as '___'.

  • markdownlint.LineLength warning metric scope: raw & doc(p, li, dd, dt, blockquote) & ~doc(pre, table, li[id^="fn"], li[id^="fn"] *), raw & ~doc(body) Style guide

    Break this line: it runs past the limit.

  • markdownlint.LineLengthCode warning metric scope: raw & doc(pre) & ~doc(li[id^="fn"] *) Style guide

    Break this line of code: it runs past the limit.

  • markdownlint.LineLengthHeading warning metric scope: raw & doc(:heading:not(:has(a, img))) Style guide

    Shorten this heading: it runs past the limit.

  • markdownlint.LineLengthTable warning metric scope: raw & doc(table) & ~doc(li[id^="fn"] *) & ~code & ~math Style guide

    Shorten this row: it runs past the limit.

  • markdownlint.LineLengthTableLabel warning script scope: raw & doc(table) & ~doc(li[id^="fn"] *) Style guide

    Shorten this row: it runs past the limit.

  • markdownlint.LinkFragments warning conditional scope: meta.class.url Style guide

    No heading on this page is '%s'.

  • markdownlint.LinkImageReferenceDefinitions warning existence scope: raw & link.definition.unused Style guide

    Nothing links to the definition '%s'.

  • markdownlint.LinkImageReferenceDefinitionsDuplicate warning existence scope: raw & link.definition.duplicate Style guide

    This label is already defined on the page.

  • markdownlint.LinkImageStyleNoAutolink warning existence scope: raw & doc(p, li, table, dd, dt, blockquote, :heading) & ~doc(pre) & link.autolink Style guide

    Write this link another way: not as an address in angle brackets.

  • markdownlint.LinkImageStyleNoCollapsed warning existence scope: raw & doc(p, li, table, dd, dt, blockquote, :heading) & ~doc(pre) & link.collapsed.defined Style guide

    Write this link another way: not with empty brackets after its text.

  • markdownlint.LinkImageStyleNoFull warning existence scope: raw & doc(p, li, table, dd, dt, blockquote, :heading) & ~doc(pre) & link.full.defined Style guide

    Write this link another way: not with a label beside its text.

  • markdownlint.LinkImageStyleNoInline warning existence scope: raw & doc(p, li, table, dd, dt, blockquote, :heading) & ~doc(pre) & link.inline Style guide

    Write this link another way: not with its address beside its text.

  • markdownlint.LinkImageStyleNoShortcut warning existence scope: raw & link.shortcut.defined Style guide

    Write this link another way: not as a label on its own.

  • markdownlint.LinkImageStyleNoUrlInline warning existence scope: raw & doc(p, li, table, dd, dt, blockquote, :heading) & ~doc(pre) & link.inline Style guide

    Write this address in angle brackets: its text is the address itself.

  • markdownlint.ListIndent warning metric scope: raw & doc(li::first-line) Style guide

    Start a list at the margin.

  • markdownlint.ListMarkerSpace warning existence scope: raw & doc(ul, ol) & ~doc(pre) Style guide

    Put one space after a list marker.

  • markdownlint.NoAltText warning existence scope: raw & ~doc(pre) & ~code & ~math Style guide

    Give the image alternative text.

  • markdownlint.NoBareUrls warning existence scope: raw & doc(p, li, table, dd, dt, blockquote, :heading) & ~doc(pre) & ~code & ~comment & ~link & ~html & ~math Style guide

    Put '%s' in angle brackets, or make it a link.

  • markdownlint.NoBlanksBlockquote warning metric scope: raw & doc(blockquote + blockquote::first-line) Style guide

    Join the two quotations, or put something between them.

  • markdownlint.NoDuplicateHeading warning metric scope: raw & doc(:heading) Style guide

    Another heading on the page has the same text.

  • markdownlint.NoDuplicateHeadingSiblings warning metric scope: raw & doc(:heading) Style guide

    Two headings side by side have the same text.

  • markdownlint.NoEmphasisAsHeading warning existence scope: raw & doc(p:has(> em:only-child:not(:has(*))), p:has(> strong:only-child:not(:has(*)))) Style guide

    Make '%s' a heading.

  • markdownlint.NoEmptyLinks warning occurrence scope: meta.class.url Style guide

    Give the link somewhere to go.

  • markdownlint.NoHardTabs warning existence scope: raw Style guide

    Use spaces, not a tab.

  • markdownlint.NoHardTabsOutsideCode warning script scope: raw Style guide

    Indent with spaces, not a tab.

  • markdownlint.NoInlineHtml warning existence scope: raw & doc(body) & ~doc(pre) & ~code & ~url & ~comment & ~math Style guide

    Write '%s' in Markdown instead of HTML.

  • markdownlint.NoInlineHtmlBlock warning script scope: raw & ~doc(body) Style guide

    Write this in Markdown instead of HTML.

  • markdownlint.NoMissingSpaceAtx warning existence scope: raw & doc(p) Style guide

    Put a space after the '#' of a heading.

  • markdownlint.NoMissingSpaceClosedAtx warning existence scope: raw & doc(p, :heading) Style guide

    Put a space between a heading's text and its hashes.

  • markdownlint.NoMultipleBlanks warning existence scope: raw & ~doc(pre) Style guide

    Leave one blank line, not several.

  • markdownlint.NoMultipleBlanksAtEnd warning existence scope: raw Style guide

    Don't end the file with a blank line.

  • markdownlint.NoMultipleSpaceAtx warning existence scope: raw & doc(:heading) Style guide

    Put one space after the '#' of a heading.

  • markdownlint.NoMultipleSpaceBlockquote warning existence scope: raw & doc(blockquote :is(p, :heading, table)) & ~doc(blockquote li, pre) Style guide

    Put one space after '>'.

  • markdownlint.NoMultipleSpaceBlockquoteList warning existence scope: raw & doc(blockquote li:not(blockquote li li)::first-line) & ~doc(pre) Style guide

    Put one space after '>'.

  • markdownlint.NoMultipleSpaceClosedAtx warning existence scope: raw & doc(:heading) Style guide

    Put one space between a heading's text and its hashes.

  • markdownlint.NoReversedLinks warning existence scope: raw & doc(p, li, table, dd, dt, blockquote, :heading) & ~doc(pre) & ~code & ~math Style guide

    Write a link as '[text](url)'.

  • markdownlint.NoSpaceInCode warning existence scope: raw & doc(p, li, table, dd, dt, blockquote, :heading) & ~doc(pre) & code Style guide

    Take the space out from inside the code span.

  • markdownlint.NoSpaceInEmphasis warning existence scope: raw & doc(p, li, dd, dt, blockquote, table, :heading) & ~doc(pre) & delimiter Style guide

    Take the space out from inside the emphasis markers.

  • markdownlint.NoSpaceInLinks warning existence scope: raw & doc(p, li, table, dd, dt, blockquote, :heading) & ~doc(pre) & ~math Style guide

    Take the space out from just inside the link's text.

  • markdownlint.NoTrailingPunctuation warning existence scope: raw & doc(:heading) Style guide

    Don't end a heading with punctuation.

  • markdownlint.NoTrailingSpaces warning existence scope: raw & ~doc(pre) & ~comment Style guide

    Remove the trailing space.

  • markdownlint.NoTrailingSpacesBlank warning script scope: raw Style guide

    Remove the spaces from this empty line.

  • markdownlint.OlPrefix warning metric scope: raw & doc(ol > li::first-line) & ~doc(pre) Style guide

    Number an ordered list '1.' throughout, or count its items.

  • markdownlint.OlPrefixOne warning metric scope: raw & doc(ol > li::first-line) & ~doc(pre) Style guide

    Number every item of an ordered list '1.'.

  • markdownlint.OlPrefixOrdered warning metric scope: raw & doc(ol > li::first-line) & ~doc(pre) Style guide

    Count the items of an ordered list: 1, 2, 3.

  • markdownlint.ProperNames warning substitution scope: raw & ~frontmatter & ~url & ~label & ~info Style guide

    Use '%s' instead of '%s'.

  • markdownlint.ReferenceLinksImages warning existence scope: raw & link.full.undefined, raw & link.collapsed.undefined Style guide

    No definition on this page has the label this link uses.

  • markdownlint.RequiredHeadings warning script scope: raw Style guide

    This isn't the heading the page's outline calls for here.

  • markdownlint.SingleTitle warning existence scope: raw & doc(section:has(> h1:first-block) ~ section > h1) Style guide

    A page has one top-level heading.

  • markdownlint.SingleTitleFrontMatter warning existence scope: raw & doc(h1) Style guide

    The front matter gives the title: don't add a top-level heading.

  • markdownlint.SingleTrailingNewline warning existence scope: raw Style guide

    End the file with a newline.

  • markdownlint.StrongStyle warning consistency scope: raw & strong Style guide

    Write bold one way on a page: '**' or '__'.

  • markdownlint.TableColumnCount warning metric scope: raw & doc(table) Style guide

    This row doesn't have as many cells as the table's header.

  • markdownlint.TableColumnStyle warning script scope: raw & doc(table) Style guide

    Line up this row's pipes with the header's, or space every pipe the same way.

  • markdownlint.TableColumnStyleAligned suggestion markdownlint.TableColumnStyle

    Line up this row's pipes with the header's.

  • markdownlint.TableColumnStyleCompact suggestion markdownlint.TableColumnStyle

    Put one space either side of each pipe.

  • markdownlint.TableColumnStyleTight suggestion markdownlint.TableColumnStyle

    Take the space out from around each pipe.

  • markdownlint.TablePipeStyle warning consistency scope: raw & doc(table) Style guide

    Open and close every row of a table with a pipe, or none.

  • markdownlint.UlIndent warning metric scope: raw & doc(ul > li::first-line) & ~doc(ol, li[id^="fn"] *) Style guide

    Start a list at the margin.

  • markdownlint.UlIndentSameLine warning existence scope: raw & doc(body > ul > li > ul > li::first-line, section:not(li section) > ul > li > ul > li::first-line) Style guide

    Indent a nested list by two spaces.

  • markdownlint.UlStyle warning consistency scope: raw & doc(ul) & ~doc(pre) Style guide

    Use one marker for lists on a page.

  • rumdl 23 rules
  • rumdl.BlankLineAfterFrontmatter warning metric scope: raw & frontmatter Style guide

    Put a blank line after the front matter.

  • rumdl.BlanksAroundHorizontalRulesAbove warning metric scope: raw & doc(hr) Style guide

    Put a blank line above this rule.

  • rumdl.BlanksAroundHorizontalRulesBelow warning metric scope: raw & doc(hr) Style guide

    Put a blank line below this rule.

  • rumdl.EmptyFootnoteDefinition warning existence scope: raw & footnote.definition Style guide

    Give the footnote some text.

  • rumdl.FootnoteOrder warning script scope: raw Style guide

    Define the footnotes in the order the page refers to them.

  • rumdl.FootnoteValidation warning conditional scope: meta.class.footnote-reference Style guide

    The footnote '%s' is never defined.

  • rumdl.FootnoteValidationUnused warning conditional scope: meta.class.footnote Style guide

    Nothing refers to the footnote '%s'.

  • rumdl.LinkDestinationWhitespace warning existence scope: raw & doc(p, li, table, dd, dt, blockquote, :heading) & ~doc(pre) & url Style guide

    Take the space out from around the link's destination.

  • rumdl.ListContinuationIndent warning script scope: raw Style guide

    Line this up with the text of the list item it belongs to.

  • rumdl.ListItemSpacing warning metric scope: raw & doc(li::first-line) Style guide

    Put a blank line above this item, as the rest of its list has.

  • rumdl.ListItemSpacingBlank warning metric scope: raw & doc(li::first-line) Style guide

    Take out the blank line above this item, as the rest of its list has none.

  • rumdl.MergeConflict warning existence scope: raw Style guide

    Resolve the merge conflict.

  • rumdl.NestedCodeFence warning existence scope: raw & doc(pre) Style guide

    Fence this block with more backticks than the fence inside it.

  • rumdl.NoDuplicateListMarkers warning existence scope: raw & doc(ul) & ~doc(pre) Style guide

    Write one list marker, not two.

  • rumdl.NoEmptySections warning existence scope: raw & doc(:heading:is(:only-child, :has(+ section))) Style guide

    Put something under this heading before the next one.

  • rumdl.NoFormattingInHeadings warning existence scope: raw & doc(:heading:has(em, strong, code, del)) Style guide

    Take the formatting out of this heading.

  • rumdl.NoHrBeforeHeading warning existence scope: raw & doc(hr:has(+ section)) Style guide

    Leave out the rule: the heading under it divides the page.

  • rumdl.NoMultipleConsecutiveSpaces warning existence scope: raw & doc(p, li, dd, dt, blockquote, :heading) & ~doc(pre, table) & ~code Style guide

    Use one space, not several.

  • rumdl.NoMultipleConsecutiveSpacesList warning script scope: raw Style guide

    Use one space, not several.

  • rumdl.NoUnclosedComments warning existence scope: raw Style guide

    Close this comment with '-->'.

  • rumdl.OrphanedTableRows warning existence scope: raw & doc(p) & ~doc(table) Style guide

    This row isn't part of a table: it has no header above it.

  • rumdl.ParagraphContinuationIndent warning existence scope: raw & doc(p) & ~doc(li, blockquote, pre) Style guide

    Start this line of the paragraph at the margin.

  • rumdl.QuotesDashes warning existence scope: raw & doc(p, li, table, dd, dt, blockquote, :heading) & ~doc(pre) & ~code Style guide

    Use an ASCII quote instead of '%s'.