From acdbd1cfae4cca1def0b3ac41422caf720731ffe Mon Sep 17 00:00:00 2001 From: Maxim Belkin Date: Tue, 22 Dec 2020 11:25:06 -0600 Subject: [PATCH] bin/lesson_check.py: allow 'caution' blockquote --- bin/lesson_check.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/lesson_check.py b/bin/lesson_check.py index 0c15357..b046b34 100644 --- a/bin/lesson_check.py +++ b/bin/lesson_check.py @@ -59,6 +59,7 @@ P_INTERNAL_INCLUDE_LINK = re.compile(r'^{% include ([^ ]*) %}$') # What kinds of blockquotes are allowed? KNOWN_BLOCKQUOTES = { 'callout', + 'caution', 'challenge', 'checklist', 'discussion', @@ -72,6 +73,7 @@ KNOWN_BLOCKQUOTES = { } # What kinds of code fragments are allowed? +# Below we allow all 'language-*' code blocks KNOWN_CODEBLOCKS = { 'error', 'output', -- 2.30.2