Skip to content

Commit

Permalink
List options available with Audio
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Feb 13, 2024
1 parent 38a35ad commit a78fa91
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/qembedio-embed-audio.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,13 @@ For example, we can show the `test.mp3` with:

{{< audio file="assets/test.mp3" >}}

## Options

| Keyword Argument | Default Value | Description |
|------------------|---------------|-------------------------------------------------------|
| `file` | `""` | Specifies the input file path for the audio element. |
| `caption` | `""` | Specifies the caption for the audio element. |
| `class` | `""` | Specifies the class attribute for the figure element. |
| `download` | `"false"` | Specifies whether to include a download link. |

You may also omit specifying a `file` option. We'll automatically use the first parameter as the `file`

0 comments on commit a78fa91

Please sign in to comment.