Breadcrumbs

Paragraph Configuration

When you define requirements in paragraph or headings, by default, the description of the requirement is the following text.

Requirement keys in paragraphs:

Screenshot 2022-04-20 at 16.58.41.png

Here are my requirements:

Screenshot 2022-04-20 at 17.34.26.png


Screenshot 2022-04-20 at 17.34.45.png
Screenshot 2022-04-20 at 17.33.51.png

With the configuration macro, you can:

  • Change the property name.

  • Treat the bold text as normal text.

  • Change the dependency name.

  • Ignore the numbering in headings.

Paragraph Configuration.png


After inserting the macro and publishing the document, here is my requirement again:

Screenshot 2022-04-20 at 17.46.45.png


When requirements are in headings

You can ignore the numbered headings by passing a regular expression specifying the numbering format.

My headings:

Screenshot 2022-04-20 at 18.02.41.png

will get saved as:

Screenshot 2022-04-20 at 18.03.26.png


Here are a few common ways to number headings and their regexes:

Numbering

Example

Regex

Decimal

1.2.

^(\d+\.)+\s*

ISO-2145

1.2

^(\d+\.?)+\s*

Lower-latin

a.b.

^([a-z]+\.?)+\s*

Upper-latin

A.B.

^([A-Z]+\.?)+\s*

Upper-roman

I.II.III.

^([IVXLC]+\.?)+\s*