Skip to content

Style checking and linting for Markdown/CommonMark files.

License

Notifications You must be signed in to change notification settings

nosborn/github-action-markdown-cli

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-action-markdownlint-cli

A GitHub Action that performs style checking and linting for Markdown/CommonMark files using markdownlint-cli.

Usage

Basic usage with all options enabled:

      - name: markdownlint-cli
        uses: nosborn/[email protected]
        with:
          config_file: ".markdownlint.yaml"
          files: .
          ignore_files: "examples/ignore/*"
          rules: "examples/rules/custom.js"

Inputs

  • config_file - configuration file (JSON or YAML)
  • files - what to process, this is required - files, directories, globs
  • ignore_files - files to ignore/exclude - file, directory, glob
  • rules - custom rule files - file, directory, glob, package

License

The scripts and documentation in this project are released under the MIT License.