Skip to content

Commit

Permalink
line break by css
Browse files Browse the repository at this point in the history
sator-imaging authored Jan 13, 2024
1 parent 09b9a19 commit 723e613
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .docfx/template/ManagedReference.extension.js
Original file line number Diff line number Diff line change
@@ -64,8 +64,7 @@ function updateTypeModelData(model) {
if (!grand.syntax?.content)
continue;
for (const content of grand.syntax.content) {
content.value = content.value.replaceAll(/\][\s\r\n\\rn]*/g, '<br />');
content.value = 'DEBUG: ' + content.value;
//content.value = content.value.replaceAll(/\][\s\r\n\\rn]*/g, ']\n');
}
}
}
2 changes: 1 addition & 1 deletion .docfx/template/partials/class.header.tmpl.partial
Original file line number Diff line number Diff line change
@@ -150,7 +150,7 @@
{{!STMG deprecate flag}}
<dt id="{{id}}">
{{#isDeprecated}}
<code>{{syntax.content.0.value}}</code>
<code style='white-space: pre-line;'>{{syntax.content.0.value}}</code>
<span class="badge rounded-pill bg-danger">Deprecated</span>
{{/isDeprecated}}
{{^isDeprecated}}

0 comments on commit 723e613

Please sign in to comment.