summaryrefslogtreecommitdiffstats
path: root/test/books
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-03-24 10:24:49 +0100
committerSamy Pessé <samypesse@gmail.com>2015-03-24 10:24:49 +0100
commit61c07e8876e1187b787dec412a496465a7f3bac0 (patch)
treec22caeebd05af701a68511d774c2b16f8f813dc4 /test/books
parentd317741144c3179bf0a88eb731bb8195426405a6 (diff)
downloadgitbook-61c07e8876e1187b787dec412a496465a7f3bac0.zip
gitbook-61c07e8876e1187b787dec412a496465a7f3bac0.tar.gz
gitbook-61c07e8876e1187b787dec412a496465a7f3bac0.tar.bz2
Add test for glossary parsing
Diffstat (limited to 'test/books')
-rw-r--r--test/books/glossary/GLOSSARY.md9
-rw-r--r--test/books/glossary/README.md8
-rw-r--r--test/books/glossary/SUMMARY.md1
3 files changed, 18 insertions, 0 deletions
diff --git a/test/books/glossary/GLOSSARY.md b/test/books/glossary/GLOSSARY.md
new file mode 100644
index 0000000..fa706f1
--- /dev/null
+++ b/test/books/glossary/GLOSSARY.md
@@ -0,0 +1,9 @@
+# Glossary
+
+## test
+
+Just a simple and easy to understand test.
+
+## hakunamatata
+
+This word is not present in the content.
diff --git a/test/books/glossary/README.md b/test/books/glossary/README.md
new file mode 100644
index 0000000..50e8d4c
--- /dev/null
+++ b/test/books/glossary/README.md
@@ -0,0 +1,8 @@
+# Readme
+
+The word test should be replaced by a glossary link.
+
+```
+But the word test should not be replaced in code blocks
+```
+
diff --git a/test/books/glossary/SUMMARY.md b/test/books/glossary/SUMMARY.md
new file mode 100644
index 0000000..ac9323c
--- /dev/null
+++ b/test/books/glossary/SUMMARY.md
@@ -0,0 +1 @@
+# Summary