mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-05-15 00:02:57 -05:00
Compare commits
No commits in common. "b854ae48e6b34f74c825dcef28ef492599146109" and "60ed1c0264faa4cba49cc69448bc2666db09bf41" have entirely different histories.
b854ae48e6
...
60ed1c0264
@ -681,27 +681,21 @@ table.markdown {
|
|||||||
border: 2px solid var(--text-1);
|
border: 2px solid var(--text-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
table.markdown thead {
|
.markdown thead {
|
||||||
background-color: var(--background-2);
|
background-color: var(--background-2);
|
||||||
color: var(--text-2);
|
color: var(--text-2);
|
||||||
border-bottom: 2px solid var(--text-1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
table.markdown th,
|
.markdown th,
|
||||||
table.markdown td {
|
.markdown td {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.markdown th + th,
|
.markdown tbody tr:nth-child(odd) {
|
||||||
table.markdown td + td {
|
|
||||||
border-left: 2px solid var(--text-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
table.markdown tbody tr:nth-child(odd) {
|
|
||||||
background-color: var(--background-0);
|
background-color: var(--background-0);
|
||||||
color: var(--text-0);
|
color: var(--text-0);
|
||||||
}
|
}
|
||||||
table.markdown tbody tr:nth-child(even) {
|
.markdown tbody tr:nth-child(even) {
|
||||||
background-color: var(--background-1);
|
background-color: var(--background-1);
|
||||||
color: var(--text-1);
|
color: var(--text-1);
|
||||||
}
|
}
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
{{ $path := "" }}
|
|
||||||
{{ $markdown := false }}
|
|
||||||
{{ if .IsNamedParams }}
|
|
||||||
{{ $path = .Get "path" }}
|
|
||||||
{{ with .Get "markdown" }}
|
|
||||||
{{ $markdown = . }}
|
|
||||||
{{ end }}
|
|
||||||
{{ else }}
|
|
||||||
{{ $path = .Get 0 }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
|
|
||||||
{{ if $markdown }}
|
|
||||||
{{ $path | readFile | markdownify }}
|
|
||||||
{{ else }}
|
|
||||||
{{ $path | readFile }}
|
|
||||||
{{ end }}
|
|
Loading…
x
Reference in New Issue
Block a user