A WoodpeckerCI plugin for markdownlint-cli to lint markdown files. https://hub.docker.com/r/kokuwaio/markdownlint
Find a file
Stephan Schnabel da82c0f30a
All checks were successful
ci/woodpecker/push/dockerhub Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test/1 Pipeline was successful
ci/woodpecker/push/test/2 Pipeline was successful
Initial draft of plugin.
2025-06-17 22:47:27 +02:00
.github Initial draft of plugin. 2025-06-17 22:47:27 +02:00
.woodpecker Initial draft of plugin. 2025-06-17 22:47:27 +02:00
.justfile Initial draft of plugin. 2025-06-17 22:47:27 +02:00
.markdownlint.yaml Initial draft of plugin. 2025-06-17 22:47:27 +02:00
.yamllint.yaml Initial draft of plugin. 2025-06-17 22:47:27 +02:00
Dockerfile Initial draft of plugin. 2025-06-17 22:47:27 +02:00
Dockerfile.dockerignore Initial draft of plugin. 2025-06-17 22:47:27 +02:00
entrypoint.sh Initial draft of plugin. 2025-06-17 22:47:27 +02:00
LICENSE Initial draft of plugin. 2025-06-17 22:47:27 +02:00
README.md Initial draft of plugin. 2025-06-17 22:47:27 +02:00
renovate.json Initial draft of plugin. 2025-06-17 22:47:27 +02:00

Markdownlint WoodpeckerCI Plugin

pulls size dockerfile license prs issues

A Woodpecker CI plugin for markdownlint-cli to lint markdown files.
Also usable with Gitlab, Github or locally, see examples for usage.

Features

  • preconfigure markdownlint-cli parameters
  • searches for markdown files recursive
  • runnable with local docker daemon

Example

Woodpecker:

steps:
  markdownlint:
    image: kokuwaio/markdownlint
    settings:
      dot: true
      enable: [MD013, MD041]
    when:
      event: pull_request
      path: [.markdownlint.yaml, "**/*.md"]]

Gitlab:

markdownlint:
  stage: lint
  image: kokuwaio/markdownlint
  variables:
    PLUGIN_DOT: true
    PLUGIN_ENABLE: MD013,MD041
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
      changes: [.markdownlint.yaml, "**/*.md"]

CLI:

docker run --rm --volume=$(pwd):$(pwd):rw --workdir=$(pwd) kokuwaio/markdownlint --fix

Settings

Settings Name Environment Default Description
config-file PLUGIN_CONFIG_FILE none Configuration file (JSON, JSONC, JS, YAML, or TOML)
dot PLUGIN_DOT true Include files/folders with a dot (for example .github)
enable PLUGIN_ENABLE none Enable certain rules, e.g. --enable=MD013,MD041
disable PLUGIN_DISABLE none Disable certain rules, e.g. --disable=MD013,MD041

Alternatives

Image Comment amd64 arm64
kokuwaio/markdownlint Woodpecker plugin size size
ghcr.io/igorshubovych/markdownlint-cli not a Woodpecker plugin, official size size
tmknom/markdownlint not a Woodpecker plugin size size
thegeeklab/markdownlint-cli not a Woodpecker plugin size size
peterdavehello/markdownlint not a Woodpecker plugin size size
06kellyjac/markdownlint-cli not a Woodpecker plugin, outdated size size