feat: code/quote/math block (#11545)

Add code, quote and math block
This commit is contained in:
Tienson Qin
2024-09-26 14:14:20 +08:00
committed by GitHub
parent b9be24e5c7
commit 54f191c6c6
14 changed files with 159 additions and 63 deletions

View File

@@ -111,7 +111,7 @@ body {
font-weight: bold;
}
blockquote {
blockquote, .block-content-or-editor-wrap[data-node-type='quote'] {
display: block;
text-indent: 0;
padding: 8px 20px;
@@ -122,10 +122,14 @@ body {
font-size: 1rem;
}
html blockquote {
html blockquote, .block-content-or-editor-wrap[data-node-type='quote'] {
border-left-color: var(--ls-page-blockquote-border-color, var(--lx-gray-05-alpha, hsl(var(--primary)/.4)));
}
.block-content-or-editor-wrap[data-node-type='quote'] {
margin: 0.5rem 0;
}
summary {
outline: none;
}