fix: render markdown in headings

This commit is contained in:
trisua 2025-08-14 14:52:19 -04:00
parent 6da4a7712b
commit 6451f929b4
2 changed files with 32 additions and 9 deletions

View file

@ -321,12 +321,14 @@ input[type="checkbox"] {
}
/* typo */
p {
margin-bottom: var(--pad-4);
}
p,
ul,
ol {
margin-bottom: var(--pad-4) !important;
p:last-child {
margin-bottom: 0;
&:last-child {
margin-bottom: 0 !important;
}
}
.post_right:not(.repost) {
@ -522,6 +524,11 @@ blockquote {
opacity: 75%;
}
p,
span {
font-size: inherit;
}
/* codemirror/hljs */
.CodeMirror {
color: var(--color-text) !important;
@ -660,6 +667,7 @@ blockquote {
.CodeMirror-line {
padding-left: 0 !important;
font-size: 16px !important;
}
.CodeMirror-focused .CodeMirror-placeholder {