diff --git a/layouts/partials/content.html b/layouts/partials/content.html
index c35e992..0aff871 100644
--- a/layouts/partials/content.html
+++ b/layouts/partials/content.html
@@ -1 +1,4 @@
-{{ .Content | replaceRE `` `` | safeHTML }}
+{{- $content := .Content -}}
+{{- $content = $content | replaceRE `` `` | safeHTML -}}
+{{- $content = $content | replaceRE `(
)` ` ${1}
` | safeHTML -}}
+{{- $content -}}
diff --git a/src/sass/_markdown.scss b/src/sass/_markdown.scss
index 0a8bd90..186fe46 100644
--- a/src/sass/_markdown.scss
+++ b/src/sass/_markdown.scss
@@ -110,8 +110,11 @@
}
}
- table:not(.lntable) {
+ .table-wrap {
overflow: auto;
+ }
+
+ table:not(.lntable) {
display: table;
border-spacing: 0;
border-collapse: collapse;