1
0
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:
Kyle Spearrin
2017-05-25 09:19:50 -04:00
parent 4d736534d5
commit 846f7fec3a
2 changed files with 84 additions and 1 deletions

16
_plugins/table.rb Normal file
View 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)