[PR #629] [MERGED] feat(fenced-code-language): Add option to refuse extra data #2779

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

📋 Pull Request Information

Original PR: https://github.com/DavidAnson/markdownlint/pull/629
Author: @regseb
Created: 11/6/2022
Status: Merged
Merged: 11/11/2022
Merged by: @DavidAnson

Base: nextHead: extra


📝 Commits (4)

  • f457f6e feat(fenced-code-language): Add option to refuse extra data
  • a5161e4 fixup: Rename extra to language_only
  • 9a20246 fixup: fix things
  • 68d0424 Merge branch 'next' into extra

📊 Changes

13 files changed (+176 additions, -1 deletions)

View changed files

📝 demo/markdownlint-browser.js (+4 -0)
📝 doc-build/md040.md (+7 -0)
📝 doc/Rules.md (+8 -0)
📝 doc/md040.md (+8 -0)
📝 lib/md040.js (+10 -0)
📝 schema/.markdownlint.jsonc (+3 -1)
📝 schema/.markdownlint.yaml (+2 -0)
📝 schema/build-config-schema.js (+5 -0)
📝 schema/markdownlint-config-schema.json (+5 -0)
test/md040-language_only.json (+6 -0)
test/md040-language_only.md (+25 -0)
📝 test/snapshots/markdownlint-test-scenarios.js.md (+93 -0)
📝 test/snapshots/markdownlint-test-scenarios.js.snap (+0 -0)

📄 Description

Add option to refuse leading and trailing whitespace; and extra data in fence code blocks information.

PR related: #628 and #610


🔄 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/629 **Author:** [@regseb](https://github.com/regseb) **Created:** 11/6/2022 **Status:** ✅ Merged **Merged:** 11/11/2022 **Merged by:** [@DavidAnson](https://github.com/DavidAnson) **Base:** `next` ← **Head:** `extra` --- ### 📝 Commits (4) - [`f457f6e`](https://github.com/DavidAnson/markdownlint/commit/f457f6e8ca14ad9df0613c21f469c38437c80981) feat(fenced-code-language): Add option to refuse extra data - [`a5161e4`](https://github.com/DavidAnson/markdownlint/commit/a5161e4abe7d6e4cd6ad4c55c79a3a758d6f3d2b) fixup: Rename extra to language_only - [`9a20246`](https://github.com/DavidAnson/markdownlint/commit/9a20246ef67a1c49815eb3112c0cbba36903e209) fixup: fix things - [`68d0424`](https://github.com/DavidAnson/markdownlint/commit/68d0424f4ca64714afbd698c1e20893da43d73d5) Merge branch 'next' into extra ### 📊 Changes **13 files changed** (+176 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `demo/markdownlint-browser.js` (+4 -0) 📝 `doc-build/md040.md` (+7 -0) 📝 `doc/Rules.md` (+8 -0) 📝 `doc/md040.md` (+8 -0) 📝 `lib/md040.js` (+10 -0) 📝 `schema/.markdownlint.jsonc` (+3 -1) 📝 `schema/.markdownlint.yaml` (+2 -0) 📝 `schema/build-config-schema.js` (+5 -0) 📝 `schema/markdownlint-config-schema.json` (+5 -0) ➕ `test/md040-language_only.json` (+6 -0) ➕ `test/md040-language_only.md` (+25 -0) 📝 `test/snapshots/markdownlint-test-scenarios.js.md` (+93 -0) 📝 `test/snapshots/markdownlint-test-scenarios.js.snap` (+0 -0) </details> ### 📄 Description Add option to refuse leading and trailing whitespace; and extra data in fence code blocks information. PR related: #628 and #610 --- <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:32 +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#2779
No description provided.