Skip to content

Commit 4b7115a

Browse files
authored
Merge pull request carpentries-incubator#342 from bkmgit/bkmgit-update-allowed-languages
Update lesson_check.py
2 parents 03e22b4 + c15f8e5 commit 4b7115a

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

bin/lesson_check.py

+17-5
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,31 @@
8080

8181
# What kinds of code fragments are allowed?
8282
KNOWN_CODEBLOCKS = {
83+
'bash',
8384
'error',
84-
'output',
85-
'source',
86-
'language-bash',
8785
'html',
86+
'language-bash',
87+
'language-c',
88+
'language-chapel',
89+
'language-cpp',
90+
'language-d',
91+
'language-fortran',
92+
'language-go',
93+
'language-java',
94+
'language-julia',
95+
'language-lua',
8896
'language-make',
8997
'language-matlab',
98+
'language-perl',
9099
'language-python',
91100
'language-r',
101+
'language-rust',
102+
'language-scala',
92103
'language-shell',
93104
'language-sql',
94-
'bash',
95-
'python'
105+
'output',
106+
'python',
107+
'source'
96108
}
97109

98110
# What fields are required in teaching episode metadata?

0 commit comments

Comments
 (0)