|api|: the schema for the API that the function belongs to
|function|: the schema for the function
|parentName|: name of the parent object of the function
+ |disableLink|: if not null, no link will be shown for types
-}}
-<div class="line">
-<span>{{?function.returns}}{{+partials.variable_type}} {{/}}{{?api}}{{+partials.api_namespace api:api}}{{/}}{{?parentName}}{{parentName}}.{{/}}{{function.name}}</span>({{#function.parameters}}{{+partials.parameter_item}}{{^last}}, {{/}}{{/}})
-</div>
+<code class="prettyprint">
+{{?r:function.returns}}{{+partials.variable_type type:r disableLink:disableLink/}}
+{{/}}{{?api}}{{api.namespace}}.{{/}}{{?parentName}}{{parentName}}.{{/}}{{function.name}}({{#p:function.parameters}}{{+partials.parameter_item parameter:p disableLink:disableLink/}}{{^p.last}}, {{/}}{{/}})
+</code>