highlightjs / highlightjs/highlightjs.org
Document `/api/download` endpoint
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 35
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
The new Download page is powered by the `/api/download` endpoint that should be documented for others to use. This endpoint accepts `POST` requests with a JSON body in the following format.
```js
{
"api": 2,
"languages": []
}
```
A proposed addition is to add a `format` key that would allow for `zip` or `javascript` to download the compiled bundle in the respective format
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.