Skip to content

Commit

Permalink
📝 Add collapsible sections
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidZhang73 committed Jan 16, 2024
1 parent afd25ae commit e1b2489
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ content-type: application/json

## URL Parameters

<details>

<summary>Click to expand</summary>

> All the keys and values are **not** case-sensitive.
>
> **Note** if you are using an external URL for `annotation`, `video`, `config` or `submitURL`,
Expand Down Expand Up @@ -287,9 +291,13 @@ http://example.com/index.html?submitURL=http%3A%2F%2Fexample.com%3Ftoken%3D12345
There will be a button shown in the side menu which will `POST` the annotation file to
`http://example.com?token=123456`.

</details>

## File Formats

**Config**
<details>

<summary><strong>Config</strong></summary>

```json
{
Expand Down Expand Up @@ -340,9 +348,13 @@ There will be a button shown in the side menu which will `POST` the annotation f
}
```

See [`public/config/example.json`](src/public/config/example.json) for am example.
See [`public/config/example.json`](public/config/example.json) for am example.

**Annotation**
</details>

<details>

<summary><strong>Annotation</strong></summary>

```json
{
Expand Down Expand Up @@ -443,7 +455,9 @@ See [`public/config/example.json`](src/public/config/example.json) for am exampl
}
```

See [`public/annotation/example.json`](src/public/annotation/example.json) for am example.
See [`public/annotation/example.json`](public/annotation/example.json) for am example.

</details>

## Development

Expand Down

0 comments on commit e1b2489

Please sign in to comment.