We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f58ecee commit fd9c51dCopy full SHA for fd9c51d
1 file changed
plugins/lint.py
@@ -594,8 +594,9 @@ class md023(mddef):
594
def is_inside_code_block(self, text, s, e):
595
def calculate_intendation(text, position):
596
return position - text.rfind("\n", 0, position) - 1
597
+
598
keyword = "```"
- block_s = text.rfind(keyword, 0, s-1)
599
+ block_s = text.rfind(keyword, 0, s - 1)
600
block_e = text.find(keyword, e)
601
block_s_intendation = calculate_intendation(text, block_s)
602
block_e_intendation = calculate_intendation(text, block_e)
0 commit comments