aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/block_scope.md3
-rw-r--r--test/block_scope.plain.html2
-rw-r--r--test/block_scope.rdfa.html2
-rw-r--r--test/block_scope_list.md3
-rw-r--r--test/block_scope_list.plain.html5
-rw-r--r--test/block_scope_list.rdfa.html5
-rw-r--r--test/ex_paragraph.md11
-rw-r--r--test/ex_paragraph.plain.html6
-rw-r--r--test/ex_paragraph.rdfa.html8
-rw-r--r--test/ex_title_and_list.md17
-rw-r--r--test/ex_title_and_list.plain.html14
-rw-r--r--test/ex_title_and_list.rdfa.html16
-rw-r--r--test/span_scope.md4
-rw-r--r--test/todo/block-cluster_scope.md21
-rw-r--r--test/todo/block-cluster_scope.plain.html12
-rw-r--r--test/todo/block-cluster_scope.rdfa.html13
-rw-r--r--test/todo/block-siblings_scope.md13
-rw-r--r--test/todo/block-siblings_scope.plain.html6
-rw-r--r--test/todo/block-siblings_scope.rdfa.html10
-rw-r--r--test/todo/block-siblings_scope_list.md4
-rw-r--r--test/todo/block-tree_scope.md10
-rw-r--r--test/todo/block-tree_scope.plain.html6
-rw-r--r--test/todo/block-tree_scope.rdfa.html8
-rw-r--r--test/todo/link_definition_scope.md10
-rw-r--r--test/todo/link_definition_scope.plain.html4
-rw-r--r--test/todo/link_definition_scope.rdfa.html4
26 files changed, 217 insertions, 0 deletions
diff --git a/test/block_scope.md b/test/block_scope.md
new file mode 100644
index 0000000..f2e78e7
--- /dev/null
+++ b/test/block_scope.md
@@ -0,0 +1,3 @@
+You can give me a ring. {=<#manu>}
+
+You can give me a ring {=<#manu>}.
diff --git a/test/block_scope.plain.html b/test/block_scope.plain.html
new file mode 100644
index 0000000..dd96b5c
--- /dev/null
+++ b/test/block_scope.plain.html
@@ -0,0 +1,2 @@
+<p>You can give me a ring.</p>
+<p>You can give me a ring {=&lt;#manu&gt;}.</p>
diff --git a/test/block_scope.rdfa.html b/test/block_scope.rdfa.html
new file mode 100644
index 0000000..161408d
--- /dev/null
+++ b/test/block_scope.rdfa.html
@@ -0,0 +1,2 @@
+<p resource="#manu">You can give me a ring.</p>
+<p>You can give me a ring {=&lt;#manu&gt;}.</p>
diff --git a/test/block_scope_list.md b/test/block_scope_list.md
new file mode 100644
index 0000000..9196d4c
--- /dev/null
+++ b/test/block_scope_list.md
@@ -0,0 +1,3 @@
+- Thomas Francart {foaf:name}
+- 39 {foaf:age}
+- Semantic Web Consultant {rdfs:comment}
diff --git a/test/block_scope_list.plain.html b/test/block_scope_list.plain.html
new file mode 100644
index 0000000..8f83544
--- /dev/null
+++ b/test/block_scope_list.plain.html
@@ -0,0 +1,5 @@
+<ul>
+<li>Thomas Francart</li>
+<li>Thomas Francart</li>
+<li>Semantic Web Consultant</li>
+</ul>
diff --git a/test/block_scope_list.rdfa.html b/test/block_scope_list.rdfa.html
new file mode 100644
index 0000000..f8fcd78
--- /dev/null
+++ b/test/block_scope_list.rdfa.html
@@ -0,0 +1,5 @@
+<ul>
+<li><span property="foaf:name">Thomas Francart</span></li>
+<li><span property="foaf:age">Thomas Francart</span></li>
+<li><span property="rdfs:comment">Semantic Web Consultant</span></li>
+</ul>
diff --git a/test/ex_paragraph.md b/test/ex_paragraph.md
new file mode 100644
index 0000000..3c233ea
--- /dev/null
+++ b/test/ex_paragraph.md
@@ -0,0 +1,11 @@
+My name is
+[Manu Sporny]{:name}
+and you can give me a ring via
+[1-800-555-0199]{:telephone}.
+![](http://manu.sporny.org/images/manu.png){:image}
+My favorite animal is the [Liger]{ov:preferredAnimal}.
+{=<#manu> .:Person}
+
+{schema}: @default
+
+{ov}: http://open.vocab.org/terms/
diff --git a/test/ex_paragraph.plain.html b/test/ex_paragraph.plain.html
new file mode 100644
index 0000000..dd76404
--- /dev/null
+++ b/test/ex_paragraph.plain.html
@@ -0,0 +1,6 @@
+<p>My name is
+Manu Sporny
+and you can give me a ring via
+1-800-555-0199.
+<img src="http://manu.sporny.org/images/manu.png" />
+My favorite animal is the Liger.</p>
diff --git a/test/ex_paragraph.rdfa.html b/test/ex_paragraph.rdfa.html
new file mode 100644
index 0000000..82de219
--- /dev/null
+++ b/test/ex_paragraph.rdfa.html
@@ -0,0 +1,8 @@
+<p vocab="http://schema.org/" prefix="ov: http://open.vocab.org/terms/" resource="#manu" typeof="Person">
+My name is
+<span property="name">Manu Sporny</span>
+and you can give me a ring via
+<span property="telephone">1-800-555-0199</span>.
+<img property="image" src="http://manu.sporny.org/images/manu.png" />
+My favorite animal is the <span property="ov:preferredAnimal">Liger</span>.
+</p>
diff --git a/test/ex_title_and_list.md b/test/ex_title_and_list.md
new file mode 100644
index 0000000..5b12b34
--- /dev/null
+++ b/test/ex_title_and_list.md
@@ -0,0 +1,17 @@
+## {.schema:Event schema:name}
+
+## Specification meeting
+
+* Date: [11/10]{schema:startDate}
+* Place: [Our office, Street name, Paris]{schema:location}
+* Meeting participants: {schema:attendee}
+ * Alice
+ * Bob
+ * [Tim](https://www.wikidata.org/wiki/Q80)
+* Description: Some information not annotated
+
+## Launch party
+
+(TODO)
+
+{schema}: @default
diff --git a/test/ex_title_and_list.plain.html b/test/ex_title_and_list.plain.html
new file mode 100644
index 0000000..1ef3fac
--- /dev/null
+++ b/test/ex_title_and_list.plain.html
@@ -0,0 +1,14 @@
+<h2>Specification meeting</h2>
+<ul>
+<li>Date: 11/10</li>
+<li>Place: Our office, Street name, Paris</li>
+<li>Meeting participants:
+<ul>
+<li>Alice</li>
+<li>Bob</li>
+<li><a href="https://www.wikidata.org/wiki/Q80">Tim</a></li>
+</ul></li>
+<li>Description: Some information not annotated</li>
+</ul>
+<h2>Launch party</h2>
+<p>(TODO)</p>
diff --git a/test/ex_title_and_list.rdfa.html b/test/ex_title_and_list.rdfa.html
new file mode 100644
index 0000000..b3c62d1
--- /dev/null
+++ b/test/ex_title_and_list.rdfa.html
@@ -0,0 +1,16 @@
+<div vocab="http://schema.org/">
+<h2 typeof="Event" property="name">Specification meeting</h2>
+<ul>
+<li>Date: <span property="startDate">11/10</span></li>
+<li>Place: <span property="location">Our office, Street name, Paris</span></li>
+<li>Meeting participants:
+<ul>
+<li property="attendee">Alice</li>
+<li property="attendee">Bob</li>
+<li><a property="attendee" href="https://www.wikidata.org/wiki/Q80">Tim</a></li>
+</ul></li>
+<li>Description: Some information not annotated</li>
+</ul>
+<h2 typeof="Event" property="name">Launch party</h2>
+<p>(TODO)</p>
+</div>
diff --git a/test/span_scope.md b/test/span_scope.md
new file mode 100644
index 0000000..28ef4d0
--- /dev/null
+++ b/test/span_scope.md
@@ -0,0 +1,4 @@
+My name is [Manu Sporny]{schema:name}.
+My name is **Manu [Sporny]**{schema:name}.
+My name is [Manu Sporny] {schema:name}.
+My name is Manu Sporny{schema:name}.
diff --git a/test/todo/block-cluster_scope.md b/test/todo/block-cluster_scope.md
new file mode 100644
index 0000000..342632f
--- /dev/null
+++ b/test/todo/block-cluster_scope.md
@@ -0,0 +1,21 @@
+{.schema:Group}
+
+# People
+
+## Manu Sporny
+
+My name is Manu Sporny.
+
+## Thomas Francart
+
+My name is Thomas Francart.
+
+I once read this:
+
+> {=<#manu>}
+>
+> My name is Manu Sporny.
+>
+> You can give me a ring.
+
+Should I call him?
diff --git a/test/todo/block-cluster_scope.plain.html b/test/todo/block-cluster_scope.plain.html
new file mode 100644
index 0000000..c121d82
--- /dev/null
+++ b/test/todo/block-cluster_scope.plain.html
@@ -0,0 +1,12 @@
+<p>{.schema:Group}</p>
+<h1>People</h1>
+<h2>Manu Sporny</h2>
+<p>My name is Manu Sporny.</p>
+<h2>Thomas Francart</h2>
+<p>My name is Thomas Francart.</p>
+<p>I once read this:</p>
+<blockquote>
+<p>My name is Manu Sporny.</p>
+<p>You can give me a ring.</p>
+</blockquote>
+<p>Should I call him?</p>
diff --git a/test/todo/block-cluster_scope.rdfa.html b/test/todo/block-cluster_scope.rdfa.html
new file mode 100644
index 0000000..7aa3ef0
--- /dev/null
+++ b/test/todo/block-cluster_scope.rdfa.html
@@ -0,0 +1,13 @@
+<div typeof="schema:Group">
+<h1>People</h1>
+<h2>Manu Sporny</h2>
+<p>My name is Manu Sporny.</p>
+<h2>Thomas Francart</h2>
+<p>My name is Thomas Francart.</p>
+<p>I once read this:</p>
+<blockquote resource="#manu">
+<p>My name is Manu Sporny.</p>
+<p>You can give me a ring.</p>
+</blockquote>
+<p>Should I call him?</p>
+</div>
diff --git a/test/todo/block-siblings_scope.md b/test/todo/block-siblings_scope.md
new file mode 100644
index 0000000..3a3bec3
--- /dev/null
+++ b/test/todo/block-siblings_scope.md
@@ -0,0 +1,13 @@
+# People
+
+## {.schema:Person}
+
+## Manu Sporny
+
+My name is Manu Sporny.
+
+## Thomas Francart
+
+My name is Thomas Francart.
+
+# Animals
diff --git a/test/todo/block-siblings_scope.plain.html b/test/todo/block-siblings_scope.plain.html
new file mode 100644
index 0000000..8190063
--- /dev/null
+++ b/test/todo/block-siblings_scope.plain.html
@@ -0,0 +1,6 @@
+<h1>People</h1>
+<h2>Manu Sporny</h2>
+<p>My name is Manu Sporny.</p>
+<h2>Thomas Francart</h2>
+<p>My name is Thomas Francart.</p>
+<h1>Animals</h1>
diff --git a/test/todo/block-siblings_scope.rdfa.html b/test/todo/block-siblings_scope.rdfa.html
new file mode 100644
index 0000000..4002b2d
--- /dev/null
+++ b/test/todo/block-siblings_scope.rdfa.html
@@ -0,0 +1,10 @@
+<h1> People</h1>
+<div typeof="schema:Person">
+<h2>Manu Sporny</h2>
+<p>My name is Manu Sporny.<p>
+</div>
+<div typeof="schema:Person">
+<h2>Thomas Francart</h2>
+<p>My name is Thomas Francart.</p>
+</div>
+<h1>Animals</h1>
diff --git a/test/todo/block-siblings_scope_list.md b/test/todo/block-siblings_scope_list.md
new file mode 100644
index 0000000..90dcbb7
--- /dev/null
+++ b/test/todo/block-siblings_scope_list.md
@@ -0,0 +1,4 @@
+- {foaf:member}
+- Thomas
+- Vincent
+- Nicolas
diff --git a/test/todo/block-tree_scope.md b/test/todo/block-tree_scope.md
new file mode 100644
index 0000000..44b1dc4
--- /dev/null
+++ b/test/todo/block-tree_scope.md
@@ -0,0 +1,10 @@
+# People
+
+## {=<#manu>} Manu Sporny
+
+My name is Manu Sporny,
+and you can give me a ring.
+
+## Thomas Francart
+
+My name is Thomas Francart.
diff --git a/test/todo/block-tree_scope.plain.html b/test/todo/block-tree_scope.plain.html
new file mode 100644
index 0000000..ed32777
--- /dev/null
+++ b/test/todo/block-tree_scope.plain.html
@@ -0,0 +1,6 @@
+<h1> People</h1>
+<h2>Manu Sporny</h2>
+<p>My name is Manu Sporny,
+and you can give me a ring.<p>
+<h2>Thomas Francart</h2>
+<p>My name is Thomas Francart.</p>
diff --git a/test/todo/block-tree_scope.rdfa.html b/test/todo/block-tree_scope.rdfa.html
new file mode 100644
index 0000000..a88eb72
--- /dev/null
+++ b/test/todo/block-tree_scope.rdfa.html
@@ -0,0 +1,8 @@
+<h1> People</h1>
+<div resource="#manu">
+<h2>Manu Sporny</h2>
+<p>My name is Manu Sporny,
+and you can give me a ring.<p>
+</div>
+<h2>Thomas Francart</h2>
+<p>My name is Thomas Francart.</p>
diff --git a/test/todo/link_definition_scope.md b/test/todo/link_definition_scope.md
new file mode 100644
index 0000000..c0acb03
--- /dev/null
+++ b/test/todo/link_definition_scope.md
@@ -0,0 +1,10 @@
+My name is
+[Manu Sporny]
+and you can give me a ring via
+[1-800-555-0199].
+
+[Manu Sporny]: {schema:name}
+
+[1-800-555-0199]: tel:+1-800-555-0199
+ "make a phone call to Manu Sporny"
+ {schema:telephone}
diff --git a/test/todo/link_definition_scope.plain.html b/test/todo/link_definition_scope.plain.html
new file mode 100644
index 0000000..ba92f3f
--- /dev/null
+++ b/test/todo/link_definition_scope.plain.html
@@ -0,0 +1,4 @@
+<p>My name is
+Manu Sporny
+and you can give me a ring via
+<a href="tel:+1-800-555-0199" title="make a phone call to Manu Sporny">1-800-555-0199</a>.</p>
diff --git a/test/todo/link_definition_scope.rdfa.html b/test/todo/link_definition_scope.rdfa.html
new file mode 100644
index 0000000..60e8f7a
--- /dev/null
+++ b/test/todo/link_definition_scope.rdfa.html
@@ -0,0 +1,4 @@
+<p>My name is
+<span property="schema:name">Manu Sporny</span>
+and you can give me a ring via
+<a property="telephone" href="tel:+1-800-555-0199" title="make a phone call to Manu Sporny">1-800-555-0199</a>.</p>