fix(callouts): use user provided title instead of canonical for default title
This commit is contained in:
parent
be9b6b3a1e
commit
421718958f
@ -412,12 +412,7 @@ export const ObsidianFlavoredMarkdown: QuartzTransformerPlugin<Partial<Options>
|
|||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
type: "text",
|
type: "text",
|
||||||
value: useDefaultTitle
|
value: useDefaultTitle ? capitalize(typeString) : titleContent + " ",
|
||||||
? capitalize(
|
|
||||||
i18n(cfg.locale).components.callout[calloutType as ValidCallout] ??
|
|
||||||
calloutType,
|
|
||||||
)
|
|
||||||
: titleContent + " ",
|
|
||||||
},
|
},
|
||||||
...restOfTitle,
|
...restOfTitle,
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user