Compare commits

...

2 Commits

3 changed files with 6 additions and 5 deletions

View File

@ -113,6 +113,7 @@
@media print {
:root {
--background-0: #fff;
--text-0: #000;
}
}
@ -996,9 +997,9 @@ li.disabled > .page-link:hover {
max-width: 100%;
}
pre {
white-space: pre-wrap;
overflow-wrap: anywhere;
table,
aside,
.code-block {
break-inside: avoid;
}

View File

@ -11,7 +11,7 @@
{{ if $markdown }}
{{ $path | readFile | markdownify }}
{{ $path | readFile | .Page.RenderString (dict "display" "block") }}
{{ else }}
{{ $path | readFile }}
{{ end }}

View File

@ -5,6 +5,6 @@
{{ $class = delimit (slice $class .) " " }}
{{ end }}
{{ $htmlTable := .Inner | markdownify }}
{{ $htmlTable := .Inner | .Page.RenderString (dict "display" "block") }}
{{ $new := printf `<table class="%s">` $class }}
{{ (replace $htmlTable "<table>" $new) | safeHTML }}