Files
AI-Studio/app/MindWork AI Studio/Chat/MathJaxBlock.razor
T

15 lines
441 B
Plaintext

@namespace AIStudio.Chat
@using AIStudio.Components
<div class="@this.RootClass">
<div class="chat-mathjax-block" data-chat-math-block="true" style="white-space: pre-wrap;">
@this.MathText
</div>
<div class="formula-block-actions">
@if (this.File is not null && this.Actions is not null)
{
@this.Actions(this.File)
}
<CodeBlockCopyButton Text="@this.Value"/>
</div>
</div>