summaryrefslogtreecommitdiffstats
path: root/test/books
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2015-09-14 11:41:01 +0200
committerSamy Pesse <samypesse@gmail.com>2015-09-14 11:41:01 +0200
commit2c08ccad870efbf1a964b08c30da5de0c025a0ad (patch)
tree453765f2230508957e38eadbe0d330bef4d818d6 /test/books
parentfa4e234bab15db4b0a8a0a13f041ef5869a2458b (diff)
downloadgitbook-2c08ccad870efbf1a964b08c30da5de0c025a0ad.zip
gitbook-2c08ccad870efbf1a964b08c30da5de0c025a0ad.tar.gz
gitbook-2c08ccad870efbf1a964b08c30da5de0c025a0ad.tar.bz2
Pass language as kwargs to code block
Improve tests for extending code highlighting
Diffstat (limited to 'test/books')
-rw-r--r--test/books/highlight/README.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/books/highlight/README.md b/test/books/highlight/README.md
index 73d74c0..417fabc 100644
--- a/test/books/highlight/README.md
+++ b/test/books/highlight/README.md
@@ -1,7 +1,15 @@
# Readme
-Default description for the book.
+Block without language
```
-test
+test 1
```
+
+Block with a language
+
+```lang
+test 2
+```
+
+Inline code: `test 3` \ No newline at end of file