Import from internal git

This commit is contained in:
2025-10-11 13:08:09 +02:00
commit 97aaa715dc
175 changed files with 7014 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<pre>
<code class="@Language">
@ChildContent
</code>
</pre>
@code{
[Inject] private IJSRuntime _js { get; set; }
[Parameter] public RenderFragment ChildContent { get; set; }
[Parameter] public string Language { get; set; } = "yaml";
protected override async Task OnAfterRenderAsync(bool firstRender)
=> await _js.InvokeVoidAsync("highlightSnippet");
}
<style>
pre{
width: 750px;
height: 500px;
}
</style>