Skip to content

Commit

Permalink
Minor formatting changes in html code
Browse files Browse the repository at this point in the history
  • Loading branch information
tobolar committed Nov 6, 2023
1 parent 458435b commit cc5326b
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions Modelica/package.mo
Original file line number Diff line number Diff line change
Expand Up @@ -1225,15 +1225,22 @@ Comments and annotations should start with a capital letter, for example:<br>
For Boolean parameters, the description string should start with &quot;= true, &hellip;&quot;, for example:<br>
<code><strong>parameter</strong> Boolean useHeatPort = false &quot;= true, if heatPort is enabled&quot;;</code>.
</p>

<h4>Whitespace and Indentation</h4>
<p>
Trailing white-space (i.e., white-space at the end of the lines) shall not be used.
The tab-character shall not be used, since the tab-stops are not standardized.</p>
<p>The code in a class shall be indented relative to the class in steps of two spaces;
except that the headings <code>public</code>, <code>protected</code>, <code>equation</code>, <code>algorithm</code>, and <code>end</code> of class marker shall not be indented.
The keywords <code>public</code> and <code>protected</code> are headings for a group of declarations.
The tab-character shall not be used, since the tab-stops are not standardized.
</p>
<p>
The code in a&nbsp;class shall be indented relative to the class in steps of two spaces;
except that the headings <code>public</code>, <code>protected</code>, <code>equation</code>,
<code>algorithm</code>, and <code>end</code> of class marker shall not be indented.
The keywords <code>public</code> and <code>protected</code> are headings for a&nbsp;group
of declarations.
</p>
<p>
Full class definitions shall be separated by an empty line.
</p>
<p>Full class definitions shall be separated by an empty line.</p>
</html>"));
end Format;

Expand Down

0 comments on commit cc5326b

Please sign in to comment.