Skip to content
HALOWERK

Codewerk

markdownlint

Lints CommonMark/GFM Markdown with the markdownlint 0.42.0 library (MIT) in-process: heading increments and styles, list indentation, trailing spaces, hard tabs, blank lines around headings/lists/fences/tables, line length, bare URLs, missing alt text, fenced code languages, link fragments, table column counts and more. Rules can be switched off or configured by name or alias (e.g. {"MD013": {"line_length": 120}}); unknown rule names are rejected. With fix=true the Markdown with all.

POST https://code.halowerk.com/v1/markdownlint

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
markdownstringYesMarkdown text (max. 1 MB).
configobjectNomarkdownlint configuration: rule name or alias → true/false/options; "default" switches all rules.
fixbooleanNoAlso return the Markdown with fixable violations corrected.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "markdown"
  ],
  "properties": {
    "markdown": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1000000,
      "description": "Markdown text (max. 1 MB)."
    },
    "config": {
      "type": "object",
      "maxProperties": 60,
      "propertyNames": {
        "pattern": "^(default|[A-Za-z0-9-]{3,40})$"
      },
      "additionalProperties": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "object",
            "maxProperties": 20
          }
        ]
      },
      "description": "markdownlint configuration: rule name or alias → true/false/options; \"default\" switches all rules."
    },
    "fix": {
      "type": "boolean",
      "default": false,
      "description": "Also return the Markdown with fixable violations corrected."
    }
  }
}

Open original schema

Published input example

{
  "markdown": "# Title\n\n### Skipped level\n\n\nSome text with trailing spaces   \nhttps://halowerk.com/\n",
  "fix": true
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →