darobin/respec — pull request #88 by tobie (2012-10-17 09:12:11+00:00)
Title: Add a core/requirements module.

This module does two things:

1. It finds and marks all requirements. These are elements with class "req".
When a requirement is found, it is reported using the "req" event. This
can be used by a containing shell to extract them.
Requirements are automatically numbered.

2. It allows referencing requirements by their ID simply using an empty
element with its href pointing to the requirement it should be referencing
and a class of "reqRef".

* * *

This use cases implies the following requirements:
, .

[…]

It MUST be possible to do foo.

It MUST be possible to do bar.

Will yeld:

This use cases implies the following requirements:
Req. 1, Req. 2.

[…]

Req. 1: It MUST be possible to do foo.

Req. 2: It MUST be possible to do bar.