Skip to content

Commit e2ac263

Browse files
author
Stefan Cyliax
committed
Add formating to code includes
Signed-off-by: Stefan Cyliax <stefan.cyliax@asam.net>
1 parent dbcedb4 commit e2ac263

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

doc/misc/example.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Then following example shows the content of a `modelDescription.xml` file that satisfies the requirements of OSMP.
44
The example describes a sensor model FMU with one input, one output, and no additional features:
55

6-
[source]
6+
[source,xml]
77
----
88
<?xml version="1.0" encoding="UTF-8"?>
99
<fmiModelDescription

doc/spec/basic_conventions.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Unless otherwise noted, all specifications in the FMI 2.0 standard apply as-is.
55

66
The following annotation shall be placed into the `<VendorAnnotations>` element of the `modelDescription.xml` to mark the FMU as being conformant to this version of the specification:
77

8-
[source]
8+
[source,xml]
99
----
1010
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp version="1.1.1" osi-version="x.y.z"/></Tool>
1111
----

doc/spec/binary_variables.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Models FMUs shall handle this case safely.
3333

3434
The three actual variables shall contain an annotation of the following form in the `<Annotations>` child element of their `<ScalarVariable>` element of the `modelDescription.xml`:
3535

36-
[source]
36+
[source,xml]
3737
----
3838
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="<prefix>" role="<role>" mime-type="<mime-type>"/></Tool>
3939
----
@@ -48,7 +48,7 @@ It is an error if the MIME types specified in the annotations for one notional b
4848

4949
In the case of OSI-specified data, the MIME type shall have the following form to indicate that the binary content is conformant to the given OSI version and contains a message of the given type:
5050

51-
[source]
51+
[source,xml]
5252
----
5353
application/x-open-simulation-interface; type=<type>; version=x.y.z
5454
----

0 commit comments

Comments
 (0)