--- layout: vendor/compress --- {% assign content_ = content | replace: '<table', '<div class="table-wrapper"><table' %} {% assign content_ = content_ | replace: '</table>', '</table></div>' %} {{ content_ }}