Skip to content

Commit

Permalink
fix code samples formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
msynk committed Dec 18, 2024
1 parent b47538d commit 540025f
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,20 @@
</BitActionButton>

<pre class="code">
<code class="language-cshtml">@RazorCode.Trim()</code>

<code class="language-cshtml">
@RazorCode?.Trim()
</code>

@if (CsharpCode.HasValue())
{
<code class="language-csharp">
&#64code {
@CsharpCode.Trim().Replace("\n", "\n ")
}</code>
<code class="language-csharp">
&#64code {
@CsharpCode?.Trim().Replace("\n", "\n ")
}
</code>
}
</pre>
</pre>
}
<div class="example-container">
Expand Down

0 comments on commit 540025f

Please sign in to comment.