From 37549a6df0d1d2b0dfe2d4e47cd9ec450a6812da Mon Sep 17 00:00:00 2001 From: Raniere Silva <raniere@ime.unicamp.br> Date: Fri, 9 Jan 2015 23:28:22 -0200 Subject: [PATCH] Add input cell question to FAQ and LAYOUT Close #116. --- FAQ.md | 15 +++++++++++++++ LAYOUT.md | 24 ++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/FAQ.md b/FAQ.md index 9b7483a..063aec2 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 0b84101..463465a 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 -- GitLab