mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-05-10 22:12:57 -05:00
Compare commits
2 Commits
dd65d55389
...
1caa7acdc9
Author | SHA1 | Date | |
---|---|---|---|
1caa7acdc9 | |||
f2f9e78559 |
@ -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;
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
{{ if $markdown }}
|
||||
{{ $path | readFile | markdownify }}
|
||||
{{ $path | readFile | .Page.RenderString (dict "display" "block") }}
|
||||
{{ else }}
|
||||
{{ $path | readFile }}
|
||||
{{ end }}
|
||||
|
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user