setup-mdsf
Version updated for https://github.com/hougesen/mdsf to version v0.12.0.
- This action is used across all versions by 6 repositories.
Action Type
This is a Node action using Node version 20.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
The mdsf GitHub Action is a tool designed to automate the formatting and linting of code snippets within Markdown files using user-specified tools. It simplifies the process of maintaining consistent formatting and code quality across documentation files by integrating with popular editors, Git pre-commit hooks, and CI/CD pipelines. Key capabilities include formatting, verifying code snippets, caching results, and supporting custom tools and configurations for tailored workflows.
Release notes
This release adds support for defining your config file using TOML and YAML.
Support has also been added for the following tools:
- action-validator
- zsweep
- zuban
- txtpbfmt
- kube-linter
- swiftlint
Release Notes
28 February 2026
- feat(init): specify schema version with –schema-version
#1550 - feat(init): specify file format
#1549 - chore: bump env_logger from 0.11.8 to 0.11.9
#1519 - chore: bump @eslint/js from 9.39.2 to 10.0.1 in /mdsf-vscode
#1545 - feat: support defining config using yaml
#1548 - chore: bump eslint from 9.39.2 to 10.0.2 in /mdsf-vscode
#1544 - feat(tools): add support for zuban
#1547 - feat(tools): add support for zsweep
#1546 - feat: support reading config from mdsf.toml
#1543 - chore: bump @typescript-eslint/eslint-plugin in /mdsf-vscode
#1536 - chore: bump tempfile from 3.25.0 to 3.26.0
#1539 - chore: bump @eslint/js from 9.39.2 to 10.0.1 in /github-action
#1531 - chore: bump esbuild from 0.27.2 to 0.27.3 in /mdsf-vscode
#1533 - chore: bump esbuild from 0.27.2 to 0.27.3 in /github-action
#1532 - chore: bump @typescript-eslint/parser in /mdsf-vscode
#1534 - chore: bump @biomejs/biome from 2.3.13 to 2.4.4 in /mdsf-vscode
#1537 - chore: bump owo-colors from 4.2.3 to 4.3.0
#1540 - chore: bump test-with from 0.15.7 to 0.15.8
#1538 - chore: bump clap from 4.5.58 to 4.5.60
#1541 - feat: publish latest stable schema
#1542 - chore: bump @biomejs/biome from 2.3.13 to 2.4.4 in /github-action
#1530 - chore: bump eslint from 9.39.2 to 10.0.2 in /github-action
#1529 - chore: bump clap_complete from 4.5.65 to 4.5.66
#1521 - feat: support formatting custom file extensions
#1528 - chore: bump predicates from 3.1.3 to 3.1.4
#1520 - chore: bump minimatch
#1526 - chore: bump minimatch
#1527 - build(carg-dist): upgrade to v0.31.0
#1525 - chore: bump tempfile from 3.24.0 to 3.25.0
#1518 - chore: bump clap from 4.5.57 to 4.5.58
#1522 - build(deps): bump serde_json from 1.0.148 to 1.0.149
#1473 - build(deps): bump clap from 4.5.53 to 4.5.54
#1472 - feat(tools): add support for the scala cli
#1475 - build(deps): bump clap_complete from 4.5.64 to 4.5.65
#1474 - build(deps-dev): bump @typescript-eslint/eslint-plugin in /mdsf-vscode
#1471 - build(deps): bump clap_complete from 4.5.63 to 4.5.64
#1469 - refactor: remove all usage of unwrap and expect in tests
#1468 - build(deps): bump serde_json from 1.0.147 to 1.0.148
#1466 - build(deps): bump clap_complete from 4.5.62 to 4.5.63
#1467 - build(deps): bump schemars from 1.1.0 to 1.2.0
#1465 - feat(tools): add support for kube-linter
#1464 - feat(tools): add support for action-validator
#1463 - feat: support installing packages using mise for testing
#1462 - feat(tools): add support for swiftlint
#1461 - build: upgrade all packages to node 24
#1460 - build(deps-dev): bump @typescript-eslint/eslint-plugin in /mdsf-vscode
#1456 - build(deps): bump tempfile from 3.23.0 to 3.24.0
#1459 - build(deps): bump serde_json from 1.0.146 to 1.0.147
#1457 - build(deps-dev): bump @typescript-eslint/parser in /mdsf-vscode
#1458 - feat: documentation website
#1455 - build(deps): bump serde_json from 1.0.145 to 1.0.146
#1454 - chore: set version to dev
#1453 - build(deps): bump clap_complete from 4.5.61 to 4.5.62
#1452 - feat(config): support json5
d46d72b - feat(tools): add fix and check to twig-cs-fixer
728e52e - feat(tools): add support for txtpbfmt
2c63b2c - feat(tools): add dhall:lint
443c95f - chore: bump @actions/core from 2.0.2 to 3.0.0 in /github-action
f03b304 - chore: bump @biomejs/biome from 2.3.11 to 2.3.13 in /github-action
6bdcc46 - chore: bump @biomejs/biome from 2.3.11 to 2.3.13 in /mdsf-vscode
7cb231b - chore: bump @biomejs/biome from 2.3.10 to 2.3.11 in /mdsf-vscode
0f89450 - chore: bump @biomejs/biome from 2.3.10 to 2.3.11 in /github-action
543a99e - chore: bump @actions/tool-cache from 3.0.0 to 4.0.0 in /github-action
3fae51a - feat(tools): add ghokin:check
6652d4b - feat(tools): add atlas:lint
0295214 - feat(tools): add ziggy:lint
81f7a59 - chore: bump @actions/tool-cache from 2.0.2 to 3.0.0 in /github-action
44a320b - chore: bump time in the cargo group across 1 directory
035687a - chore: bump @actions/core from 2.0.1 to 2.0.2 in /github-action
cc11263 - ci: generate github action build on push
c3fe2d9 - chore: bump clap from 4.5.54 to 4.5.56
0916b75 - chore: bump ureq from 3.1.4 to 3.2.0
9af0359 - chore: bump clap from 4.5.56 to 4.5.57
9f72396 - chore: bump schemars from 1.2.0 to 1.2.1
349efee - chore: bump globals from 17.0.0 to 17.3.0 in /github-action
045efc3 - chore: bump globals from 17.0.0 to 17.3.0 in /mdsf-vscode
801582b - chore: bump globals from 16.5.0 to 17.0.0 in /mdsf-vscode
74cb454 - chore: bump globals from 16.5.0 to 17.0.0 in /github-action
ed5275a - fix: add github action build to git in ci
73da667 - chore: updated generated code
32d5d43 - chore: bump json5 from 1.3.0 to 1.3.1
0ebf5f2 - chore: bump regex from 1.12.2 to 1.12.3
28c8e94 - chore: bump convert_case from 0.10.0 to 0.11.0
ceccd0d - chore: bump test-with from 0.15.6 to 0.15.7
79bfaff - build(deps): bump assert_cmd from 2.1.1 to 2.1.2
05700a8 - chore: bump bytes in the cargo group across 1 directory
c83d4e4 - chore: updated generated code
0b5fff7 - chore: updated generated code
64cedf2
Install mdsf 0.12.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/hougesen/mdsf/releases/download/v0.12.0/mdsf-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/hougesen/mdsf/releases/download/v0.12.0/mdsf-installer.ps1 | iex"
Install prebuilt binaries via Homebrew
brew install hougesen/tap/mdsf
Install prebuilt binaries into your npm project
npm install mdsf-cli@0.12.0
Download mdsf 0.12.0
| File | Platform | Checksum |
|---|---|---|
| mdsf-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| mdsf-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| mdsf-x86_64-pc-windows-msvc.tar.gz | x64 Windows | checksum |
| mdsf-x86_64-pc-windows-msvc.msi | x64 Windows | checksum |
| mdsf-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |