parent
7fef3fafec
commit
5d85ccb994
1 changed files with 3 additions and 2 deletions
|
@ -9,10 +9,11 @@
|
||||||
we suround the markdown table with `<div class="table-wrapper">` and `</div>`
|
we suround the markdown table with `<div class="table-wrapper">` and `</div>`
|
||||||
-->
|
-->
|
||||||
|
|
||||||
{% if _content contains '<table>' %}
|
{% if _content contains '<table' %}
|
||||||
{% assign _content = _content
|
{% assign _content = _content
|
||||||
| replace: '<table>', '<div class="table-wrapper"><table>'
|
| replace: '<table', '<div class="table-wrapper"><table'
|
||||||
| replace: '</table>', '</table></div>'
|
| replace: '</table>', '</table></div>'
|
||||||
|
| replace: '<code><div class="table-wrapper">', '<code>'
|
||||||
| replace: '</table></div></code>', '</table></code>'
|
| replace: '</table></div></code>', '</table></code>'
|
||||||
%}
|
%}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue