Skip to content

Conversation

@RunDevelopment
Copy link
Member

Guess who forgot to make a group optional and then blindly copy-pasted it. Yep, me.

This fixes the bug introduced in #1928. The Autoloader plugin will now also recognize non-minified files.

@RunDevelopment RunDevelopment merged commit d36ea99 into PrismJS:master Sep 11, 2020
@RunDevelopment RunDevelopment deleted the autoloader-regex-fix branch September 11, 2020 13:16
@8thHalfHour
Copy link

8thHalfHour commented Dec 11, 2020

So, is it now possible to include the link to the autoloader CDN and not have to also set the languages_path to the components folder? In other words, is this still required after linking to the script:

<script>
  Prism.plugins.autoloader.languages_path = 'https://cdnjs.cloudflare.com/ajax/libs/prism/1.22.0/components/';
</script>

@RunDevelopment
Copy link
Member Author

@8thHalfHour Yes, this will now work. You don't have to manually set languages_path anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants