1
0
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:
Kyle Spearrin
2017-05-23 21:58:58 -04:00
parent 77face8570
commit be037a36cd
14 changed files with 131 additions and 26 deletions

View File

@@ -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