diff --git a/specification.asciidoc b/specification.asciidoc index b3d3a9bc..bc060598 100644 --- a/specification.asciidoc +++ b/specification.asciidoc @@ -300,6 +300,85 @@ Did you know that in Boston, they call it "soda", and in Chicago, they call it " ---- +==== Exercise + +*HTML element*: +
+ + +*Attribute requirements*: +data-type="exercise"+ + +*Content model*: Zero or one ++
++ followed by one or more Problem elements, followed by zero or more Solution elements + +*Example*: + +---- +
+
Force on a Block
+
If a block has a mass of 2kg ...
+
3 Newtons
+
+---- + + +===== Problem + +*HTML element*: +
+ + +*Attribute requirements*: +data-type="problem"+ + +*Content model*: Either of the following content models is acceptable: + +* text and/or zero or more Inline elements +* Zero or one ++
++ followed by zero or more Block elements + +*Example*: + +---- +
If a block has a mass of 2kg ...
+ + +
+
Find the Force
+

If a block has a mass of 2kg ...

+
+---- + +===== Solution + +*HTML element*: +
+ + +*Attribute requirements*: +data-type="solution"+ + +*Content model*: Either of the following content models is acceptable: + +* text and/or zero or more Inline elements +* Zero or more Block elements + +*Example*: + +---- +
2 Newtons
+---- + + +==== Rule + +*HTML element*: +
+ + +*Attribute requirements*: +data-type="rule"+ + +*Content model*: Zero or one ++
++ followed by zero or more Statement elements, followed by zero or more Proof elements + +*Example*: + +---- +
+
Force on a Block
+
If a block has a mass of 2kg ...
+
3 Newtons
+
+---- + + ==== Code listings *HTML element*: +
+