Skip to content

Commit

Permalink
add three more common languages (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Aug 19, 2020
1 parent 61db2b1 commit 33c71b1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions assets/css/lesson.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ div.output { @include cdSetup($color-output); }
div.source { @include cdSetup($color-source); }

div.bash, div.language-bash { @include cdSetup($color-source); }
div.c, div.language-c { @include cdSetup($color-source); }
div.cmake, div.language-cmake { @include cdSetup($color-source); }
div.cpp, div.language-cpp { @include cdSetup($color-source); }
div.make, div.language-make { @include cdSetup($color-source); }
div.matlab, div.language-matlab { @include cdSetup($color-source); }
div.python, div.language-python { @include cdSetup($color-source); }
Expand All @@ -55,6 +58,9 @@ div.warning:before,
div.output::before,
div.source::before,
div.bash::before, div.language-bash::before,
div.c::before, div.language-c::before,
div.cmake::before, div.language-cmake::before,
div.cpp::before, div.language-cpp::before,
div.make::before, div.language-make::before,
div.matlab::before, div.language-matlab::before,
div.python::before, div.language-python::before,
Expand All @@ -71,6 +77,9 @@ div.warning:before { background-color: #f8f4e8; content:" Warning"; }
div.output::before { background-color: #efefef; content: "Output"; }
div.source::before { content: "Code"; }
div.bash::before, div.language-bash::before { content: "Bash"; }
div.c::before, div.language-c::before { content: "C"; }
div.cmake::before, div.language-cmake::before { content: "CMake"; }
div.cpp::before, div.language-cpp::before { content: "C++"; }
div.make::before, div.language-make::before { content: "Make"; }
div.matlab::before, div.language-matlab::before { content: "Matlab"; }
div.python::before, div.language-python::before { content: "Python"; }
Expand Down
3 changes: 3 additions & 0 deletions bin/lesson_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
'source',
'language-bash',
'html',
'language-c',
'language-cmake',
'language-cpp',
'language-make',
'language-matlab',
'language-python',
Expand Down

0 comments on commit 33c71b1

Please sign in to comment.