Installation
Requirements
Section titled “Requirements”- Go 1.26 or later (for building from source)
- Or use the pre-built Docker image via GitHub Actions
Install the CLI
Section titled “Install the CLI”go install github.com/larsartmann/md-go-validator@latestVerify the installation:
md-go-validator --versionGitHub Action
Section titled “GitHub Action”Use the built-in GitHub Action in your workflows (no install needed):
- uses: LarsArtmann/md-go-validator@v1 with: path: . args: "-f json"As a Go Library
Section titled “As a Go Library”go get github.com/larsartmann/md-go-validator/pkgImport in your code:
import ( mdgovalidator "github.com/larsartmann/md-go-validator/pkg" "github.com/larsartmann/md-go-validator/pkg/languages")Next Steps
Section titled “Next Steps”- Follow the Quick Start for usage examples
- Explore CLI Options for the full flag reference
- See Supported Languages for all parsers