Skip to content

Commit

Permalink
fix inlining
Browse files Browse the repository at this point in the history
  • Loading branch information
colombod committed Jul 12, 2022
1 parent 0dc8a5f commit b3c79a3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ namespace Microsoft.DotNet.Interactive.Mermaid;

internal class MermaidMarkdownFormatter : ITypeFormatterSource
{
private static readonly Uri DefaultLibraryUri = new(@"https://cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.min.js", UriKind.Absolute);
private static readonly Uri RequireUri = new("https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js");
private const string DefaultLibraryVersion = "9.1.3";
private static readonly Uri DefaultLibraryUri = new($@"https://cdn.jsdelivr.net/npm/mermaid@{DefaultLibraryVersion}/dist/mermaid.min.js", UriKind.Absolute);
private static readonly Uri RequireUri = new("https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js");


private static string? _cacheBuster;
private static Uri? _libraryUri;
Expand Down

0 comments on commit b3c79a3

Please sign in to comment.