Skip to content

Commit

Permalink
Merge pull request #40 from oeb25/patch-1
Browse files Browse the repository at this point in the history
Add BASE_PATH to Prism autoloader languages_path
  • Loading branch information
begleynk authored Apr 2, 2022
2 parents bde7764 + 94e2e66 commit 6fbb931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ for (let element of mathElements) {
}

// Setup Prism
Prism.plugins.autoloader.languages_path = '/assets/prism-grammars/';
Prism.plugins.autoloader.languages_path = BASE_PATH + 'assets/prism-grammars/';


// Load search index
Expand Down

0 comments on commit 6fbb931

Please sign in to comment.