mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-05-15 00:02:57 -05:00
Compare commits
No commits in common. "1caa7acdc9c0bf00ea38524538d295a6c179ae6d" and "dd65d5538917cb8e25043e9244459ffe75a19e8a" have entirely different histories.
1caa7acdc9
...
dd65d55389
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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 }}
|
||||||
|
@ -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 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user