summaryrefslogtreecommitdiffhomepage
path: root/test/corpus/headers_sisu.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/corpus/headers_sisu.txt')
-rw-r--r--test/corpus/headers_sisu.txt201
1 files changed, 201 insertions, 0 deletions
diff --git a/test/corpus/headers_sisu.txt b/test/corpus/headers_sisu.txt
new file mode 100644
index 0000000..21f8358
--- /dev/null
+++ b/test/corpus/headers_sisu.txt
@@ -0,0 +1,201 @@
+==================
+SiSU bespoke banner (version)
+==================
+
+% SiSU 4.0.0
+
+---
+
+(document
+ (version_comment))
+
+==================
+SiSU bespoke banner (older version)
+==================
+
+% SiSU 0.72
+
+---
+
+(document
+ (version_comment))
+
+==================
+SiSU bespoke banner (URL form)
+==================
+
+% SiSU http://www.jus.uio.no/sisu
+
+---
+
+(document
+ (version_comment))
+
+==================
+SiSU bespoke banner (freeform note)
+==================
+
+% SiSU markup for 0.16 and later
+
+---
+
+(document
+ (version_comment))
+
+==================
+Bespoke @title with inline value
+==================
+
+@title: Alice's Adventures in Wonderland
+
+---
+
+(document
+ (sisu_header_field
+ key: (sisu_header_key)
+ value: (sisu_header_value)))
+
+==================
+Bespoke @creator with :author sub-key
+==================
+
+@creator:
+ :author: Carroll, Lewis
+
+---
+
+(document
+ (sisu_header_field
+ key: (sisu_header_key)
+ (sisu_header_continuation)))
+
+==================
+Bespoke @date with multiple sub-keys
+==================
+
+@date:
+ :published: 1865
+ :created: 1865
+ :available: 1865
+ :added_to_site: 2004-04-12
+
+---
+
+(document
+ (sisu_header_field
+ key: (sisu_header_key)
+ (sisu_header_continuation)
+ (sisu_header_continuation)
+ (sisu_header_continuation)
+ (sisu_header_continuation)))
+
+==================
+Bespoke @make with mixed sub-keys
+==================
+
+@make:
+ :headings: none; none; none; CHAPTER;
+ :breaks: new=3; break=4
+
+---
+
+(document
+ (sisu_header_field
+ key: (sisu_header_key)
+ (sisu_header_continuation)
+ (sisu_header_continuation)))
+
+==================
+Bespoke @links with freeform link continuations
+==================
+
+@links:
+ { Alice in Wonderland @ Wikipedia }http://en.wikipedia.org/wiki/Alice%27s_Adventures_in_Wonderland
+ { Lewis Carroll @ Wikipedia }http://en.wikipedia.org/wiki/Lewis_Carroll
+
+---
+
+(document
+ (sisu_header_field
+ key: (sisu_header_key)
+ (sisu_header_continuation)
+ (sisu_header_continuation)))
+
+==================
+Bespoke @links:+ additive variant
+==================
+
+@links:+
+ { ftp archive }ftp://example.org/pub
+
+---
+
+(document
+ (sisu_header_field
+ key: (sisu_header_key)
+ (sisu_header_continuation)))
+
+==================
+Full bespoke header block
+==================
+
+% SiSU 4.0.0
+
+@title: Alice's Adventures in Wonderland
+
+@creator:
+ :author: Carroll, Lewis
+
+@date:
+ :published: 1865
+
+@rights:
+ :copyright: Lewis Carroll
+ :license: Public Domain
+
+@classify:
+ :topic_register: SiSU markup sample:book:novel;
+ book:novel:fiction:fantasy|children's fiction
+
+---
+
+(document
+ (version_comment)
+ (sisu_header_field
+ key: (sisu_header_key)
+ value: (sisu_header_value))
+ (sisu_header_field
+ key: (sisu_header_key)
+ (sisu_header_continuation))
+ (sisu_header_field
+ key: (sisu_header_key)
+ (sisu_header_continuation))
+ (sisu_header_field
+ key: (sisu_header_key)
+ (sisu_header_continuation)
+ (sisu_header_continuation))
+ (sisu_header_field
+ key: (sisu_header_key)
+ (sisu_header_continuation)
+ (sisu_header_continuation)))
+
+==================
+YAML and bespoke key disjoint at top level
+==================
+
+# SiSU 8.0
+
+title: "Spine document"
+
+@title: Sisu document
+
+---
+
+(document
+ (version_comment)
+ (header_field
+ key: (header_key)
+ value: (header_value))
+ (sisu_header_field
+ key: (sisu_header_key)
+ value: (sisu_header_value)))