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: [ | ||||
|                     { | ||||
|                       type: "text", | ||||
|                       value: useDefaultTitle | ||||
|                         ? capitalize( | ||||
|                             i18n(cfg.locale).components.callout[calloutType as ValidCallout] ?? | ||||
|                               calloutType, | ||||
|                           ) | ||||
|                         : titleContent + " ", | ||||
|                       value: useDefaultTitle ? capitalize(typeString) : titleContent + " ", | ||||
|                     }, | ||||
|                     ...restOfTitle, | ||||
|                   ], | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user