Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt committed Jul 21, 2023
1 parent 8853000 commit 0f65829
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ public static void WriteDocusaurusAdmonition(this MarkdownWriter writer, string
throw new ArgumentNullException(nameof(writer));

string info = admonitionStyle switch
{
AdmonitionStyle.Note => "note",
AdmonitionStyle.Tip => "tip",
AdmonitionStyle.Info => "info",
AdmonitionStyle.Caution => "caution",
AdmonitionStyle.Danger => "danger",
_ => throw new ArgumentException($"Unknown {nameof(AdmonitionStyle)} '{admonitionStyle}'", nameof(admonitionStyle))
};
{
AdmonitionStyle.Note => "note",
AdmonitionStyle.Tip => "tip",
AdmonitionStyle.Info => "info",
AdmonitionStyle.Caution => "caution",
AdmonitionStyle.Danger => "danger",
_ => throw new ArgumentException($"Unknown {nameof(AdmonitionStyle)} '{admonitionStyle}'", nameof(admonitionStyle))
};

info += title;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using System.Diagnostics;
using System;
using System.Diagnostics;
using DotMarkdown.Docusaurus;

namespace DotMarkdown.Linq.Docusaurus;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using System.Diagnostics;
using System;
using System.Diagnostics;
using DotMarkdown.Docusaurus;

namespace DotMarkdown.Linq.Docusaurus;
Expand Down

0 comments on commit 0f65829

Please sign in to comment.