Compare commits

..

No commits in common. "1caa7acdc9c0bf00ea38524538d295a6c179ae6d" and "dd65d5538917cb8e25043e9244459ffe75a19e8a" have entirely different histories.

3 changed files with 5 additions and 6 deletions

View File

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

View File

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

View File

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