mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 05:27: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
@@ -0,0 +1,12 @@
|
||||
namespace AIStudio.Chat;
|
||||
|
||||
/// <summary>
|
||||
/// How the chat renders the text of a message: in parts, Markdown and the formulas between them, see
|
||||
/// MarkdownRenderPlanner.
|
||||
/// </summary>
|
||||
/// <param name="Source">The text as the chat renders it. The parts refer to it.</param>
|
||||
/// <param name="Segments">The parts, in the order of the text.</param>
|
||||
internal sealed record MarkdownRenderPlan(string Source, IReadOnlyList<MarkdownRenderSegment> Segments)
|
||||
{
|
||||
public static readonly MarkdownRenderPlan EMPTY = new(string.Empty, []);
|
||||
}
|
||||
Reference in new issue
Block a user