@@ -114,14 +114,14 @@ The syntax of an annotation is the same syntax used for
114
114
:ref: `modifications `. This means the annotation will include either
115
115
an assignment to a variable in the annotation, *e.g., *
116
116
117
- .. code-block:
117
+ .. code-block :: modelica
118
118
119
119
annotation(Evaluate=true);
120
120
121
121
or it will include a modification to something **inside ** a variable in
122
122
the annotation, *e.g., *
123
123
124
- .. code-block:
124
+ .. code-block :: modelica
125
125
126
126
annotation(experiment(StartTime=0,StopTime=8));
127
127
@@ -133,7 +133,7 @@ Annotations were designed to allow model developers to attach
133
133
associate a part number with a given model definition, they might
134
134
introduce a model annotation like this:
135
135
136
- .. code-block:
136
+ .. code-block :: modelica
137
137
138
138
annotation(PartNumber="FF78-E4B879");
139
139
@@ -149,7 +149,7 @@ Imagine a user wanted to specify **both** a part number and an
149
149
experiment annotation. Then they might end up with an annotation like
150
150
this one:
151
151
152
- .. code-block:
152
+ .. code-block :: modelica
153
153
154
154
annotation(PartNumber="FF78-E4B879",
155
155
experiment(StartTime=0,StopTime=8));
@@ -171,7 +171,7 @@ For example, a better approach for including the part number
171
171
would be to enclose it in a variable that is more likely to be unique
172
172
to your company or application, *e.g., *:
173
173
174
- .. code-block:
174
+ .. code-block :: modelica
175
175
176
176
annotation(XogenyIndustries(PartNumber="FF78-E4B879"),
177
177
experiment(StartTime=0,StopTime=8));
@@ -182,7 +182,7 @@ organization came along and wanted to associate a different part
182
182
number with the same model, they could do that by establishing their
183
183
own separate hierarchy in the annotation, *e.g., *:
184
184
185
- .. code-block:
185
+ .. code-block :: modelica
186
186
187
187
annotation(XogenyIndustries(PartNumber="FF78-E4B879"),
188
188
AcmeEquipment(PartNumber="A23335-992"),
@@ -193,7 +193,7 @@ annotations (*e.g.,* in the Modelica Standard Library). By
193
193
convention, tool vendors use names that are prefixed by two
194
194
underscores, *e.g., *
195
195
196
- .. code-block:
196
+ .. code-block :: modelica
197
197
198
198
annotation(XogenyIndustries(PartNumber="FF78-E4B879"),
199
199
__ModelicateTechnologies(enableCoolFeature10=true),
0 commit comments