mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-05-14 15:52:57 -05:00
Compare commits
No commits in common. "1caa7acdc9c0bf00ea38524538d295a6c179ae6d" and "dd65d5538917cb8e25043e9244459ffe75a19e8a" have entirely different histories.
1caa7acdc9
...
dd65d55389
@ -113,7 +113,6 @@
|
||||
@media print {
|
||||
:root {
|
||||
--background-0: #fff;
|
||||
--text-0: #000;
|
||||
}
|
||||
}
|
||||
|
||||
@ -997,9 +996,9 @@ li.disabled > .page-link:hover {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
table,
|
||||
aside,
|
||||
.code-block {
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
break-inside: avoid;
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
{{ if $markdown }}
|
||||
{{ $path | readFile | .Page.RenderString (dict "display" "block") }}
|
||||
{{ $path | readFile | markdownify }}
|
||||
{{ else }}
|
||||
{{ $path | readFile }}
|
||||
{{ end }}
|
||||
|
@ -5,6 +5,6 @@
|
||||
{{ $class = delimit (slice $class .) " " }}
|
||||
{{ end }}
|
||||
|
||||
{{ $htmlTable := .Inner | .Page.RenderString (dict "display" "block") }}
|
||||
{{ $htmlTable := .Inner | markdownify }}
|
||||
{{ $new := printf `<table class="%s">` $class }}
|
||||
{{ (replace $htmlTable "<table>" $new) | safeHTML }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user