diff options
| author | Marat Radchenko <marat@slonopotamus.org> | 2020-02-15 16:45:13 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-15 16:45:13 +0300 |
| commit | fdfd9a4dad24fac41b12a11ea3db255c870cd166 (patch) | |
| tree | ef6200995a877aa9ab8c8c9644bde6058a2f1063 /spec/fixtures | |
| parent | d3dd792c7ca6c3d128952379dae7af60db1a20a5 (diff) | |
resolves #300 search for `front-matter.html` in document dir instead of CWD (PR #301)
Diffstat (limited to 'spec/fixtures')
| -rw-r--r-- | spec/fixtures/front-matter/book.adoc | 4 | ||||
| -rw-r--r-- | spec/fixtures/front-matter/chapter.adoc | 1 | ||||
| -rw-r--r-- | spec/fixtures/front-matter/front-matter.html | 11 | ||||
| -rw-r--r-- | spec/fixtures/front-matter/square.png | bin | 0 -> 157 bytes |
4 files changed, 16 insertions, 0 deletions
diff --git a/spec/fixtures/front-matter/book.adoc b/spec/fixtures/front-matter/book.adoc new file mode 100644 index 0000000..46560c6 --- /dev/null +++ b/spec/fixtures/front-matter/book.adoc @@ -0,0 +1,4 @@ += Front matter book +:doctype: book + +include::chapter.adoc[leveloffset=+1] diff --git a/spec/fixtures/front-matter/chapter.adoc b/spec/fixtures/front-matter/chapter.adoc new file mode 100644 index 0000000..31b7fa2 --- /dev/null +++ b/spec/fixtures/front-matter/chapter.adoc @@ -0,0 +1 @@ += Chapter diff --git a/spec/fixtures/front-matter/front-matter.html b/spec/fixtures/front-matter/front-matter.html new file mode 100644 index 0000000..7f4d1bb --- /dev/null +++ b/spec/fixtures/front-matter/front-matter.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>Title</title> +</head> +<body> +<p>Matter. Front Matter.</p> +<img src="square.png" alt="Quadratisch"/> +</body> +</html> diff --git a/spec/fixtures/front-matter/square.png b/spec/fixtures/front-matter/square.png Binary files differnew file mode 100644 index 0000000..978fd0a --- /dev/null +++ b/spec/fixtures/front-matter/square.png |
