2022-02-07 01:57:43 -08:00
|
|
|
{{ $content := .Content }}
|
|
|
|
|
|
|
|
{{ $content = $content | replaceRE `<nav id="TableOfContents">\s*<ul>\s*<li>\s*<ul>` `<nav id="TableOfContents"><ul>` | replaceRE `</ul>\s*</li>\s*</ul>\s*</nav>` `</ul></nav>` | safeHTML }}
|
2022-05-23 15:37:06 -07:00
|
|
|
{{ $content = $content | replaceRE `(<table>(?:.|\n)+?</table>)` `<div class="table-wrap"> ${1} </div>` | safeHTML }}
|
2022-02-07 01:57:43 -08:00
|
|
|
|
|
|
|
{{ return $content }}
|