Jacky Zhao
2024-01-31 7cb1c291c802b74dc47d235f094e5d9134f95283
quartz/plugins/transformers/ofm.ts
@@ -387,10 +387,7 @@
                  match.input.slice(calloutDirective.length).trim() || capitalize(calloutType)
                const titleNode: Paragraph = {
                  type: "paragraph",
                  children:
                    restOfTitle.length === 0
                      ? [{ type: "text", value: titleContent + " " }]
                      : restOfTitle,
                  children: [{ type: "text", value: titleContent + " " }, ...restOfTitle],
                }
                const title = mdastToHtml(titleNode)