projects
/
rnaseq-cwl-training.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e641fd
)
bin/lesson_check.py: allow 'caution' blockquote
author
Maxim Belkin <maxim.belkin@gmail.com>
Tue, 22 Dec 2020 17:25:06 +0000
(11:25 -0600)
committer
Maxim Belkin <maxim.belkin@gmail.com>
Tue, 22 Dec 2020 17:25:06 +0000
(11:25 -0600)
bin/lesson_check.py
patch
|
blob
|
history
diff --git
a/bin/lesson_check.py
b/bin/lesson_check.py
index 0c1535758e725e50e7ef6a430153c296292f025f..b046b34cf7c157874433ad209cd13e017f8c319d 100644
(file)
--- 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',