{"action":"closed","issue":{"url":"https://api.github.com/repos/saleem-hadad/larecipe/issues/30","repository_url":"https://api.github.com/repos/saleem-hadad/larecipe","labels_url":"https://api.github.com/repos/saleem-hadad/larecipe/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/saleem-hadad/larecipe/issues/30/comments","events_url":"https://api.github.com/repos/saleem-hadad/larecipe/issues/30/events","html_url":"https://github.com/saleem-hadad/larecipe/issues/30","id":361116476,"node_id":"MDU6SXNzdWUzNjExMTY0NzY=","number":30,"title":"Prism Autoloader","user":{"login":"tankerkiller125","id":3457368,"node_id":"MDQ6VXNlcjM0NTczNjg=","avatar_url":"https://avatars3.githubusercontent.com/u/3457368?v=4","gravatar_id":"","url":"https://api.github.com/users/tankerkiller125","html_url":"https://github.com/tankerkiller125","followers_url":"https://api.github.com/users/tankerkiller125/followers","following_url":"https://api.github.com/users/tankerkiller125/following{/other_user}","gists_url":"https://api.github.com/users/tankerkiller125/gists{/gist_id}","starred_url":"https://api.github.com/users/tankerkiller125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tankerkiller125/subscriptions","organizations_url":"https://api.github.com/users/tankerkiller125/orgs","repos_url":"https://api.github.com/users/tankerkiller125/repos","events_url":"https://api.github.com/users/tankerkiller125/events{/privacy}","received_events_url":"https://api.github.com/users/tankerkiller125/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-18T02:56:21Z","updated_at":"2018-09-19T08:06:44Z","closed_at":"2018-09-19T08:06:44Z","author_association":"NONE","body":"---\r\nname: Feature request\r\nabout: Suggest an idea for this project\r\n\r\n---\r\n\r\n**Is your feature request related to a problem? Please describe.**\r\n\r\nPrism does not by default support many languages in this package, this can cause issues for some use cases, and providing all languages the way the current prism setup is designed would result in a very large unusable file.\r\n\r\n**Describe the solution you'd like**\r\n\r\nOne of the many plugins available to Prism is the Autoloader which allows for the prism script to automatically grab the appropriate language definitions from an url and only the languages used on the page. I think that it would be greatly beneficial to use this feature as it would allow this Laravel package to provide syntax highlighting for all languages and it would also keep the load time lower overall, especially on HTTPS connections supporting HTTP2. Unfortunately, I can't seem to find a CDN that host the files so it may have to be part of the actual published files.\r\n\r\n**Describe alternatives you've considered**\r\n\r\nHighlightJS/None\r\n\r\n**Additional context**\r\n\r\nI think support for all the languages would be great for many developers."}}
{"actor":{"display_login":"saleem-hadad"}}