feat: add markdown alerts support (#1221)
* Markdown alerts * refactor(alert): move alert color to variable.scss and simplify the style * style: fix indent in render-blockquote * feat(alert): add customizable alert icons for different alert types * doc: add example usage of markdown alert --------- Co-authored-by: Jimmy Cai <jimmy@cai.im>
This commit is contained in:
@@ -51,6 +51,14 @@ SortBy = "default"
|
||||
# Can also be set per-diagram with %%transparent%% directive
|
||||
transparentBackground = false
|
||||
|
||||
[article.alertIcon]
|
||||
# Alert icons for different alert types (note, tip, important, warning, caution)
|
||||
note = "📝"
|
||||
tip = "💡"
|
||||
important = "📌"
|
||||
warning = "⚠️"
|
||||
caution = "🚨"
|
||||
|
||||
[widgets]
|
||||
homepage = []
|
||||
page = []
|
||||
|
||||
Reference in New Issue
Block a user