diff --git a/FAQ.md b/FAQ.md index 9b7483a05ffa78266a29aafbf6f6984972d7d102..063aec2b86ca69afb2f039f12601767e6c8c3d3c 100644 --- a/FAQ.md +++ b/FAQ.md @@ -37,6 +37,21 @@ * `suitable-for-newcomer`: issue or pull request is a good starting point for someone who is relatively new to GitHub and/or this project * `work-in-progress`: a pull request that is not yet ready for review +* *How create non-Python input cells?* + + Use + + ~~~ {.lang} + some code + ~~~ + + where `lang` is `bash` for the Unix Shell, `r` for R, `matlab` for MATLAB, + `sql` for SQL. For a full list, check + + ~~~ + $ pandoc -v + ~~~ + ## Debugging Please add notes about problems and solutions below. diff --git a/LAYOUT.md b/LAYOUT.md index 0b8410100bc875e6d636254c97514b01129faebf..463465ac9b51b74d223484027e751d20dce9459f 100644 --- a/LAYOUT.md +++ b/LAYOUT.md @@ -223,6 +223,30 @@ Each topic page must be structured as follows: Nothing else should be marked as bold text --- use *italics* for for all other emphasis. +5. For Unix Shell commands use + + ~~~ {.bash} + $ some-command + ~~~ + + For R code use + + ~~~ {.r} + some code + ~~~ + + For MATLAB code use + + ~~~ {.matlab} + some code + ~~~ + + For SQL code use + + ~~~ {.sql} + some code + ~~~ + ## Motivational Slides Every lesson must include a short slide deck suitable for a short