mirror of
https://github.com/bitwarden/help
synced 2025-12-15 07:43:48 +00:00
callout styling. note and warning tags. sorting
This commit is contained in:
@@ -6,11 +6,11 @@ module Jekyll
|
||||
def initialize(tag_name, type, tokens)
|
||||
super
|
||||
type.strip!
|
||||
if %w(info danger warning).include?(type)
|
||||
if %w(info danger warning primary success default).include?(type)
|
||||
@type = type
|
||||
else
|
||||
puts "#{type} callout not supported. Defaulting to info"
|
||||
@type = "info"
|
||||
puts "#{type} callout not supported. Defaulting to default"
|
||||
@type = "default"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user