/
Paragraph Configuration

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:

Here are my requirements:

 

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.

 

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

 

When requirements are in headings

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

My headings:

will get saved as:

 

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

Numbering

Example

Regex

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*

Related content

Write requirements in paragraphs
Write requirements in paragraphs
More like this
Requirements in paragraphs
Requirements in paragraphs
More like this
Configuration macro: Configure properties and documents
Configuration macro: Configure properties and documents
More like this
The RY Macros, and how to write requirements
The RY Macros, and how to write requirements
More like this
Linear documents: Manage requirements outside of tables
Linear documents: Manage requirements outside of tables
More like this
Requirement types
Requirement types
More like this