summaryrefslogtreecommitdiffstats
path: root/test/books
diff options
context:
space:
mode:
Diffstat (limited to 'test/books')
-rw-r--r--test/books/images/README.md18
-rw-r--r--test/books/images/SUMMARY.md3
-rw-r--r--test/books/images/folder/PAGE.md3
-rw-r--r--test/books/images/test.svg11
4 files changed, 35 insertions, 0 deletions
diff --git a/test/books/images/README.md b/test/books/images/README.md
new file mode 100644
index 0000000..484f410
--- /dev/null
+++ b/test/books/images/README.md
@@ -0,0 +1,18 @@
+# Tests for Images
+
+# SVG relative image
+
+
+### Convert SVG to PNG
+![test.svg](test.svg)
+
+### Should only convert it once
+![test.svg](test.svg)
+
+### Download remote images
+![remote image](http://upload.wikimedia.org/wikipedia/commons/b/b0/NewTux.svg)
+
+### Remote images with same filename
+![youtube1](http://img.youtube.com/vi/9bZkp7q19f0/0.jpg)
+![youtube2](http://img.youtube.com/vi/IkV2HQLAKHY/0.jpg)
+
diff --git a/test/books/images/SUMMARY.md b/test/books/images/SUMMARY.md
new file mode 100644
index 0000000..ec0c4fc
--- /dev/null
+++ b/test/books/images/SUMMARY.md
@@ -0,0 +1,3 @@
+# Summary
+
+* [Page](./folder/PAGE.md)
diff --git a/test/books/images/folder/PAGE.md b/test/books/images/folder/PAGE.md
new file mode 100644
index 0000000..8beb060
--- /dev/null
+++ b/test/books/images/folder/PAGE.md
@@ -0,0 +1,3 @@
+### Images from other folder
+![test.svg](../test.svg)
+
diff --git a/test/books/images/test.svg b/test/books/images/test.svg
new file mode 100644
index 0000000..48bba70
--- /dev/null
+++ b/test/books/images/test.svg
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
+<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
+ <title id="test-title">basic SVG tiny doc</title>
+ <g id="test-body-content">
+ <text font-family="Arial" font-size="14" text-anchor="middle" x="225" y="25">hello world</text>
+ </g>
+ <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">Revision: 1.1</text>
+ <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+</svg>
+