Skip to content

Commit

Permalink
admonition to blockquote
Browse files Browse the repository at this point in the history
  • Loading branch information
Katzeee committed Mar 14, 2024
1 parent 061656b commit a00e91b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _templates/block_admonition.html.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- attr_name = ''
- case (attr :name)
- when 'note'
- attr_name = 'info'
- when 'important'
- attr_name = 'danger'
- attr_name = (attr :name) if attr_name == ''
blockquote class=["prompt-#{attr_name}"]
p =content

0 comments on commit a00e91b

Please sign in to comment.