[PR #224] [MERGED] Add fenced code block style rule #2675

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

📋 Pull Request Information

Original PR: https://github.com/DavidAnson/markdownlint/pull/224
Author: @mlichtblau
Created: 10/3/2019
Status: Merged
Merged: 10/9/2019
Merged by: @DavidAnson

Base: nextHead: next


📝 Commits (1)

  • 6db69ac Add fenced code block style rule

📊 Changes

17 files changed (+232 additions, -25 deletions)

View changed files

📝 README.md (+2 -1)
📝 doc/Rules.md (+38 -0)
lib/md048.js (+38 -0)
📝 lib/rules.js (+2 -1)
📝 schema/build-config-schema.js (+14 -0)
📝 schema/markdownlint-config-schema.json (+43 -1)
📝 test/break-all-the-rules.md (+4 -0)
test/code_fence_style_backtick.json (+6 -0)
test/code_fence_style_backtick.md (+19 -0)
test/code_fence_style_tilde.json (+6 -0)
test/code_fence_style_tilde.md (+19 -0)
📝 test/detailed-results-MD041-MD050.md (+4 -0)
📝 test/detailed-results-MD041-MD050.md.fixed (+4 -0)
📝 test/detailed-results-MD041-MD050.results.json (+11 -2)
📝 test/fenced_code_blocks.md (+1 -1)
📝 test/fenced_code_with_nesting.md (+6 -6)
📝 test/markdownlint-test.js (+15 -13)

📄 Description

Hi @DavidAnson
I added a new rule MD048 to fix the fenced code block style issue #223.
I hope I updated all necessary files.
I am happy to get feedback and implement suggestions.

(fixes #223)


🔄 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/224 **Author:** [@mlichtblau](https://github.com/mlichtblau) **Created:** 10/3/2019 **Status:** ✅ Merged **Merged:** 10/9/2019 **Merged by:** [@DavidAnson](https://github.com/DavidAnson) **Base:** `next` ← **Head:** `next` --- ### 📝 Commits (1) - [`6db69ac`](https://github.com/DavidAnson/markdownlint/commit/6db69ac638f60e214881b00c7a87759a81b92865) Add fenced code block style rule ### 📊 Changes **17 files changed** (+232 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+2 -1) 📝 `doc/Rules.md` (+38 -0) ➕ `lib/md048.js` (+38 -0) 📝 `lib/rules.js` (+2 -1) 📝 `schema/build-config-schema.js` (+14 -0) 📝 `schema/markdownlint-config-schema.json` (+43 -1) 📝 `test/break-all-the-rules.md` (+4 -0) ➕ `test/code_fence_style_backtick.json` (+6 -0) ➕ `test/code_fence_style_backtick.md` (+19 -0) ➕ `test/code_fence_style_tilde.json` (+6 -0) ➕ `test/code_fence_style_tilde.md` (+19 -0) 📝 `test/detailed-results-MD041-MD050.md` (+4 -0) 📝 `test/detailed-results-MD041-MD050.md.fixed` (+4 -0) 📝 `test/detailed-results-MD041-MD050.results.json` (+11 -2) 📝 `test/fenced_code_blocks.md` (+1 -1) 📝 `test/fenced_code_with_nesting.md` (+6 -6) 📝 `test/markdownlint-test.js` (+15 -13) </details> ### 📄 Description Hi @DavidAnson I added a new rule MD048 to fix the fenced code block style issue #223. I hope I updated all necessary files. I am happy to get feedback and implement suggestions. (fixes #223) --- <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:01 +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#2675
No description provided.