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