File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ ${editor.getDoc().getSelection()}
328328 ( admonition . injectColor ?? this . data . injectColor
329329 ? admonition . color
330330 : null ) ,
331- collapse
331+ collapse , sourcePath
332332 ) ;
333333 this . renderAdmonitionContent (
334334 admonitionElement ,
@@ -385,7 +385,7 @@ ${editor.getDoc().getSelection()}
385385 title : string ,
386386 icon : AdmonitionIconDefinition ,
387387 color ?: string ,
388- collapse ?: string
388+ collapse ?: string , source ?: string
389389 ) : HTMLElement {
390390 const admonition = createDiv ( {
391391 cls : `callout admonition admonition-${ type } admonition-plugin ${
@@ -421,7 +421,7 @@ ${editor.getDoc().getSelection()}
421421 MarkdownRenderer . renderMarkdown (
422422 title ,
423423 titleInnerEl ,
424- "" ,
424+ source ?? "" ,
425425 new Component ( )
426426 ) ;
427427 if (
You can’t perform that action at this time.
0 commit comments