mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 21:16:21 +00:00
fix(callouts): use user provided title instead of canonical for default title
This commit is contained in:
parent
be9b6b3a1e
commit
421718958f
1 changed files with 1 additions and 6 deletions
|
@ -412,12 +412,7 @@ export const ObsidianFlavoredMarkdown: QuartzTransformerPlugin<Partial<Options>
|
|||
children: [
|
||||
{
|
||||
type: "text",
|
||||
value: useDefaultTitle
|
||||
? capitalize(
|
||||
i18n(cfg.locale).components.callout[calloutType as ValidCallout] ??
|
||||
calloutType,
|
||||
)
|
||||
: titleContent + " ",
|
||||
value: useDefaultTitle ? capitalize(typeString) : titleContent + " ",
|
||||
},
|
||||
...restOfTitle,
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue