From: Maxim Belkin Date: Tue, 22 Dec 2020 17:25:06 +0000 (-0600) Subject: bin/lesson_check.py: allow 'caution' blockquote X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/commitdiff_plain/acdbd1cfae4cca1def0b3ac41422caf720731ffe bin/lesson_check.py: allow 'caution' blockquote --- 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',