mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-26 20:14:23 +00:00
Upgraded MudBlazor, ReverseMarkdown, and System.CommandLine (#1236)
This commit is contained in:
1 parent
506c06fbfc
commit
9ebfce3855
21 files changed
+506
-96
No files matched your search
@@ -51,11 +51,11 @@ public sealed class ExportableMarkdown : HighlightedMarkdown
|
||||
#region Overrides of HighlightedMarkdown
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void RenderCodeBlock(in RenderTreeBuilder builder, ref int elementIndex, in Markdig.Syntax.CodeBlock code, in string? info)
|
||||
protected override void RenderCodeBlock(in RenderTreeBuilder builder, ref int elementIndex, in Markdig.Syntax.CodeBlock code, in string? info, Typo typo)
|
||||
{
|
||||
if (this.CodeBlockActions is null || FileAt(this.Files, this.ValueStart + code.Span.Start) is not { } file)
|
||||
{
|
||||
base.RenderCodeBlock(builder, ref elementIndex, code, info);
|
||||
base.RenderCodeBlock(builder, ref elementIndex, code, info, typo);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ public sealed class ExportableMarkdown : HighlightedMarkdown
|
||||
//
|
||||
builder.OpenElement(0, "div");
|
||||
builder.AddAttribute(1, "class", "code-block-with-actions");
|
||||
base.RenderCodeBlock(builder, ref elementIndex, code, info);
|
||||
base.RenderCodeBlock(builder, ref elementIndex, code, info, typo);
|
||||
|
||||
builder.OpenElement(2, "div");
|
||||
builder.AddAttribute(3, "class", "code-block-actions");
|
||||
|
||||
Reference in new issue
Block a user