Skip to content

Commit

Permalink
fix(callouts): use user provided title instead of canonical for defau…
Browse files Browse the repository at this point in the history
…lt title
  • Loading branch information
jackyzha0 committed Feb 23, 2024
1 parent be9b6b3 commit 4217189
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions quartz/plugins/transformers/ofm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
],
Expand Down

0 comments on commit 4217189

Please sign in to comment.