akhater 4 лет назад
Родитель
Сommit
f6c5c4eb75
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      src/main/frontend/components/block.cljs

+ 4 - 0
src/main/frontend/components/block.cljs

@@ -1846,6 +1846,7 @@
                     "important" svg/important
                     "caution" svg/caution
                     "warning" svg/warning
+                    "pinned" svg/tip
                     nil)]
     [:div.flex.flex-row.admonitionblock.align-items {:class type}
      [:div.pr-4.admonition-icon.flex.flex-col.justify-center
@@ -1973,6 +1974,9 @@
 
       ["Custom" "warning" options result content]
       (admonition config "warning" options result)
+      
+      ["Custom" "pinned" options result content]
+      (admonition config "pinned" options result)
 
       ["Custom" name options l content]
       (->elem