mirror of
https://github.com/bitwarden/help
synced 2025-12-06 00:03:30 +00:00
table tag and more ldap docs
This commit is contained in:
16
_plugins/table.rb
Normal file
16
_plugins/table.rb
Normal file
@@ -0,0 +1,16 @@
|
||||
module Jekyll
|
||||
module Tags
|
||||
class TableTag < Liquid::Block
|
||||
def render(context)
|
||||
site = context.registers[:site]
|
||||
converter = site.find_converter_instance(::Jekyll::Converters::Markdown)
|
||||
output = converter.convert(super(context))
|
||||
"<div class=\"table-responsive\">
|
||||
#{output}
|
||||
</div>"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Liquid::Template.register_tag('table', Jekyll::Tags::TableTag)
|
||||
Reference in New Issue
Block a user