mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-03 01:48:32 +02:00
Wrapped tables (#303)
* table wrapping - js variant * table wrapping - regex variant
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
</div>
|
||||
{{ partial "breadcrumbs" . }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
{{ $wrappedTable := printf "<div class=table-responsive> ${1} </div>" }}
|
||||
{{ .Content | replaceRE "(<table>(?:.|\n)+?</table>)" $wrappedTable | safeHTML }}
|
||||
</article>
|
||||
<div class="pt-3">{{ partial "author" . }}</div>
|
||||
<div class="article__info mt-4">
|
||||
|
||||
Reference in New Issue
Block a user