.callout-content support (#1188)

* .callout-content support

* Use BlockContent | FootnoteContent for callout body

* Update quartz/plugins/transformers/ofm.ts

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Refactor

* Combine child selectors

* Fix multiple callout members

* Empty check

* Replace splice

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
This commit is contained in:
Emile Bangma
2024-06-14 01:02:00 +02:00
committed by GitHub
parent a12d76afdb
commit 81d00fc9c0
2 changed files with 18 additions and 3 deletions

View File

@ -10,7 +10,7 @@
transition: max-height 0.3s ease;
box-sizing: border-box;
& > *:nth-child(2) {
& > .callout-content > :first-child {
margin-top: 0;
}