summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md39
1 files changed, 0 insertions, 39 deletions
diff --git a/README.md b/README.md
index bf300bb..e0173c4 100644
--- a/README.md
+++ b/README.md
@@ -172,45 +172,6 @@ This is the summary of my book.
Files that are not included in `SUMMARY.md` will not be processed by `gitbook`.
-#### Exercises
-
-A book can contain interactive exercises (currently only in Javascript but Python and Ruby are coming soon ;) ). An exercise is a code challenge provided to the reader, who is given a code editor to write a solution which is checked against the book author's validation code.
-
-An exercise is defined by 4 simple parts:
-
-* Exercise **Message**/Goals (in markdown/text)
-* **Initial** code to show to the user, providing a starting point
-* **Solution** code, being a correct solution to the exercise
-* **Validation** code that tests the correctness of the user's input
-
-Exercises need to start and finish with a separation bar (```---``` or ```***```). It should contain 3 code elements (**base**, **solution** and **validation**). It can contain a 4th element that provides **context** code (functions, imports of libraries, etc which shouldn't be displayed to the user).
-
- ---
-
- Define a variable `x` equal to 10.
-
- ```js
- var x =
- ```
-
- ```js
- var x = 10;
- ```
-
- ```js
- assert(x == 10);
- ```
-
- ```js
- // This is context code available everywhere
- // The user will be able to call magicFunc in his code
- function magicFunc() {
- return 3;
- }
- ```
-
- ---
-
#### Multi-Languages
GitBook supports building books written in multiple languages. Each language should be a sub-directory following the normal GitBook format, and a file named `LANGS.md` should be present at the root of the repository with the following format: