From 3b96a07a86f553a1fe0e4447d82a702dd16a96d9 Mon Sep 17 00:00:00 2001 From: Martin Bohal Date: Wed, 29 Nov 2023 15:45:38 +0100 Subject: [PATCH] Udate markdonwlint rules --- .markdownlint.jsonc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.markdownlint.jsonc b/.markdownlint.jsonc index 27aa4c51..10161c9e 100644 --- a/.markdownlint.jsonc +++ b/.markdownlint.jsonc @@ -3,13 +3,14 @@ { "default": true, "MD007": { // Unordered list indentation - "indent": 4 // 4 spaces so MkDocs can render nested lists correctly + "indent": 4 // 4 spaces so parsers (MkDocs, Bitbucket, etc.) can render nested lists correctly }, - "MD033": false, // Allow inline JSX and custom web components - "MD024": false, // Allow duplicate headings - "line-length": { + "MD013": { "code_block_line_length": 120, - "tables": false, - "code_blocks": false - } + "tables": false + }, + "MD024": { // Allow duplicate headings + "allow_different_nesting": true // Allow same heading level under different parents + }, + "MD033": false // Allow inline HTML and custom components }