[PR #610] [MERGED] Add allowed_languages parameter to MD040 #2766

Closed
opened 2026-03-07 20:10:28 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/DavidAnson/markdownlint/pull/610
Author: @chenxsan
Created: 10/16/2022
Status: Merged
Merged: 10/17/2022
Merged by: @DavidAnson

Base: nextHead: feature/support-allowlist-md040


📝 Commits (5)

📊 Changes

12 files changed (+199 additions, -9 deletions)

View changed files

📝 demo/markdownlint-browser.js (+11 -2)
📝 doc/Rules.md (+5 -0)
📝 lib/md040.js (+16 -2)
📝 schema/.markdownlint.jsonc (+4 -1)
📝 schema/.markdownlint.yaml (+3 -1)
📝 schema/build-config-schema.js (+12 -0)
📝 schema/markdownlint-config-schema.json (+16 -2)
📝 test/markdownlint-test.js (+1 -1)
test/md040-allowed_languages.json (+5 -0)
test/md040-allowed_languages.md (+45 -0)
📝 test/snapshots/markdownlint-test-scenarios.js.md (+81 -0)
📝 test/snapshots/markdownlint-test-scenarios.js.snap (+0 -0)

📄 Description

fixes https://github.com/DavidAnson/markdownlint/issues/608.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/DavidAnson/markdownlint/pull/610 **Author:** [@chenxsan](https://github.com/chenxsan) **Created:** 10/16/2022 **Status:** ✅ Merged **Merged:** 10/17/2022 **Merged by:** [@DavidAnson](https://github.com/DavidAnson) **Base:** `next` ← **Head:** `feature/support-allowlist-md040` --- ### 📝 Commits (5) - [`b88b106`](https://github.com/DavidAnson/markdownlint/commit/b88b10602cf992a7b62deed703182d3efb9fce57) Add allow_list parameter to MD040 - [`eecb805`](https://github.com/DavidAnson/markdownlint/commit/eecb8051b22678bfe3ebf94bc7dd498899af9a10) apply reviews - [`d7a88a8`](https://github.com/DavidAnson/markdownlint/commit/d7a88a86e7fb45be87e5969573c4579d16b7763b) apply review - [`1274e45`](https://github.com/DavidAnson/markdownlint/commit/1274e45eef7d1c273f4daf4d89fb81572eebcc1b) fix doc - [`3cb67bc`](https://github.com/DavidAnson/markdownlint/commit/3cb67bcbedfcde339816612c04c69b9c2515b89b) Merge branch 'next' into feature/support-allowlist-md040 ### 📊 Changes **12 files changed** (+199 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `demo/markdownlint-browser.js` (+11 -2) 📝 `doc/Rules.md` (+5 -0) 📝 `lib/md040.js` (+16 -2) 📝 `schema/.markdownlint.jsonc` (+4 -1) 📝 `schema/.markdownlint.yaml` (+3 -1) 📝 `schema/build-config-schema.js` (+12 -0) 📝 `schema/markdownlint-config-schema.json` (+16 -2) 📝 `test/markdownlint-test.js` (+1 -1) ➕ `test/md040-allowed_languages.json` (+5 -0) ➕ `test/md040-allowed_languages.md` (+45 -0) 📝 `test/snapshots/markdownlint-test-scenarios.js.md` (+81 -0) 📝 `test/snapshots/markdownlint-test-scenarios.js.snap` (+0 -0) </details> ### 📄 Description fixes https://github.com/DavidAnson/markdownlint/issues/608. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-07 20:10:28 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#2766
No description provided.