.. _html_support:
HTML Support
============
Dim is based on YAML, which initially means that requirements are described textually. When
exporting to RST, Dim interprets text between ```` and ```` as HTML.
External files (e.g. referenced in ````) need to be added to the *enclosed* attribute
so that they are exported/copied correctly.
The following sections show some examples how to specify HTML elements.
Text Formatting
---------------
.. code-block:: yaml
SRS_Feature_A1:
text: Bold and italic text with an extra
newline.
Images
------
.. code-block:: yaml
enclosed:
- images/overview.png
SRS_Feature_A2:
text: Look at this:
Tables
------
.. code-block:: yaml
SRS_Feature_A3:
text:
Voltage | Amp |
---|---|
12 V | 100 mA |