Skip to content

Commit

Permalink
fix: Fix extensibility while adding new languages syntaxes @sneridagh (
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh authored and ericof committed Feb 24, 2024
1 parent af62adb commit e683b15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ import 'prismjs/components/prism-scss';
import 'prismjs/components/prism-yaml';


import { languages } from 'prismjs/components/prism-core';

import { languages } from '@plonegovbr/volto-code-block';

const applyConfig = (config) => {
config.settings['codeBlock'] = {
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,5 @@ const applyConfig = (config) => {
return config;
};

export { languages };
export default applyConfig;

0 comments on commit e683b15

Please sign in to comment.