highlightjs / highlightjs/highlightjs.org

Update download page URL to match selected languages

Open
#17 12 comments 0 reactions 1 assignee Claimed by @allejo View on GitHub
enhancement
Dominant language
TypeScript
Stars
35
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Upgrading the library is difficult when we've [selected extra languages in the download page](https://highlightjs.org/download/), as there's no good way of downloading the same bundle in the future.

Prism.js solves this by updating the URL to match the selected checkboxes, and embedding that URL in the resulting download as a comment. See https://prismjs.com/download.html#themes=prism-okaidia&languages=markup+css+clike+javascript, which includes `markup`, `css`, `clike`, and `javascript`. Having such a feature on our downloads page would be really wonderful.

Similar to highlightjs/highlight.js#1035

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.