[PR #243] [MERGED] fix: allow for first level indentation of lists (#242) #2678

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

📋 Pull Request Information

Original PR: https://github.com/DavidAnson/markdownlint/pull/243
Author: @jthomerson
Created: 12/29/2019
Status: Merged
Merged: 1/1/2020
Merged by: @DavidAnson

Base: nextHead: fix-ul-indentation


📝 Commits (1)

  • 99af022 Allow for first level indentation of lists (fixes #242).

📊 Changes

7 files changed (+81 additions, -3 deletions)

View changed files

📝 doc/Rules.md (+5 -1)
📝 lib/md007.js (+4 -2)
📝 schema/build-config-schema.js (+5 -0)
📝 schema/markdownlint-config-schema.json (+10 -0)
test/list-indentation-start-indented.json (+8 -0)
test/list-indentation-start-indented.md (+39 -0)
📝 test/list-indentation.md (+10 -0)

📄 Description

This is a proposed fix for #242. It should maintain backwards-compatibility, while allowing users like me to achieve our goal as well. If there's a different way you'd like it implemented, I'm happy to rework it with your direction.


🔄 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/243 **Author:** [@jthomerson](https://github.com/jthomerson) **Created:** 12/29/2019 **Status:** ✅ Merged **Merged:** 1/1/2020 **Merged by:** [@DavidAnson](https://github.com/DavidAnson) **Base:** `next` ← **Head:** `fix-ul-indentation` --- ### 📝 Commits (1) - [`99af022`](https://github.com/DavidAnson/markdownlint/commit/99af022a313ab019f1902372b10b64356485b670) Allow for first level indentation of lists (fixes #242). ### 📊 Changes **7 files changed** (+81 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `doc/Rules.md` (+5 -1) 📝 `lib/md007.js` (+4 -2) 📝 `schema/build-config-schema.js` (+5 -0) 📝 `schema/markdownlint-config-schema.json` (+10 -0) ➕ `test/list-indentation-start-indented.json` (+8 -0) ➕ `test/list-indentation-start-indented.md` (+39 -0) 📝 `test/list-indentation.md` (+10 -0) </details> ### 📄 Description This is a proposed fix for #242. It should maintain backwards-compatibility, while allowing users like me to achieve our goal as well. If there's a different way you'd like it implemented, I'm happy to rework it with your direction. --- <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:03 +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#2678
No description provided.