Skip to content

Commit

Permalink
added example with general attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
shafayetShafee committed Jan 29, 2023
1 parent 831dfef commit d6846b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ All of the above callout types has the following [four general attributes](https
- `appearance`: `default`, `minimal` or `simple`
- `icon`: `true` or `false`

And we can specify them as, for example,

```
::: {.gist user=tarleb gist_id=852f6ae98764bea56aeeac979f3c17be collapse=false appearance=simple icon=false caption="Lua Demo"}
:::
```

## Example

Expand Down
2 changes: 1 addition & 1 deletion example.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ filters:

### Mastodon

::: {.mastodon url="https://fosstodon.org/@pandoc/109712438144865859"}
::: {.mastodon url="https://fosstodon.org/@pandoc/109712438144865859" }
:::


Expand Down

0 comments on commit d6846b2

Please sign in to comment.