Update download page URL to match selected languages
See original GitHub issueUpgrading the library is difficult when we’ve selected extra languages in the download page, 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 #1035
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Localized Versions of your Pages | Google Search Central
Learn how you can use a sitemap and other methods to tell Google about all of the different language and regional versions of...
Read more >Configuring URLs for multilingual websites
Open the Sites application. · Edit ( ) your site. · On the General tab, select your website's primary language in the Visitor...
Read more >Choose the languages for a SharePoint site user interface
On the settings page, in the Site Administration section, click Language Settings. Note: If the Language settings link doesn't appear on the Site...
Read more >Setting language preferences in a browser - W3C
Firefox. Open the browser settings and the Content tab. Under the Languages heading, choose your preferred language(s) by selecting the language ...
Read more >Change the language and region on iPhone - Apple Support
Go to Settings > General > Language & Region. Set the following: The language for iPhone. Your preferred form of address. (Choose feminine,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just a quick further comment. I think after https://github.com/highlightjs/highlight.js/issues/1035, y’all added a cookie-based approach that saved the current checkboxes. That really doesn’t work when the cookies get deleted or the project is team-wide. Having a URL is much better, especially if it’s embedded in the downloadable in some way.
Didn’t they answer that already: 😉