Admonition Plugin not Displaying as Callout

What I’m trying to do

I’m trying to insert a callout in each note that contains the following information: creation date and time, modification date and time, file location.

````javascript
```ad-info
collapse: open
**Created**: `=dateformat(this.file.ctime, "DDDD, HH:mm")`
**Modified**: `=dateformat(this.file.mtime, "DDDD, HH:mm")`
**Location**: `=this.file.path`

Sometimes, the plugin works and other times, it only displays as the raw code.

### Things I have tried

<!-- Below this line, write what terms you searched in the help docs and forum, plus any solutions you tried and what happened. -->

I searched "admonition" in the forum, have tried using the "Open Admonitions in note" command, and have tried going into view mode.

Written like this in the note is working on my end:

```ad-info
collapse: open
**Created**: `=dateformat(this.file.ctime, "DDDD, HH:mm")`    
**Modified**: `=dateformat(this.file.mtime, "DDDD, HH:mm")`    
**Location**: `=this.file.path`  
```

left: Source mode | right: Live Preview (Reading view is also fine)

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.