diff --git a/Themes/Default/Destination/css/theme_colors.css b/Themes/Default/Destination/css/theme_colors.css index 24439e2..b462a69 100644 --- a/Themes/Default/Destination/css/theme_colors.css +++ b/Themes/Default/Destination/css/theme_colors.css @@ -108,6 +108,15 @@ mark { .alert.alert-neutral a { color: #2980B9; } + +.alert.alert-tip { + background:#dbfaf4; +} + +.alert.alert-tip .alert-title { + background:#1abc9c; +} + /* #endregion*/ /* #region Tables*/ diff --git a/src/MarkdownDeep/Block.cs b/src/MarkdownDeep/Block.cs index e56b98f..84b4335 100644 --- a/src/MarkdownDeep/Block.cs +++ b/src/MarkdownDeep/Block.cs @@ -520,6 +520,10 @@ namespace MarkdownDeep title = "Info"; faIconName = "info-circle"; break; + case "tip": + title = "Tip"; + faIconName = "info-circle"; + break; } b.Append("
This is a tip, whether you like it or not!
+post
diff --git a/src/MarkdownDeepTests/testfiles/docnetmode/Alert(DocNetMode).txt b/src/MarkdownDeepTests/testfiles/docnetmode/Alert(DocNetMode).txt index 5802709..3b45304 100644 --- a/src/MarkdownDeepTests/testfiles/docnetmode/Alert(DocNetMode).txt +++ b/src/MarkdownDeepTests/testfiles/docnetmode/Alert(DocNetMode).txt @@ -25,4 +25,8 @@ This is an **info text**, it will be displayed in an info alert box! This is an info text, it will be displayed in an info alert box! @end +@alert tip +This is a tip, whether you like it or not! +@end + post