mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 18:47:21 +00:00
Added formulas from LaTeX code blocks and buttons to copy and save formulas (#1154)
This commit is contained in:
1 parent
f4a86c2fb8
commit
acc7d09fa2
18 files changed
+943
-314
No files matched your search
@@ -1,5 +1,15 @@
|
||||
@namespace AIStudio.Chat
|
||||
@using AIStudio.Components
|
||||
|
||||
<div class="@this.RootClass" data-chat-math-block="true" style="white-space: pre-wrap;">
|
||||
@this.MathText
|
||||
<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>
|
||||
Reference in new issue
Block a user