Skip to content

Commit

Permalink
fix: use default export from posthtml-render
Browse files Browse the repository at this point in the history
  • Loading branch information
cossssmin committed Jul 9, 2021
1 parent b0f428e commit 3086dbe
Show file tree
Hide file tree
Showing 2 changed files with 2,090 additions and 3,090 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const Prism = require('prismjs');
const render = require('posthtml-render');
const render = require('posthtml-render').default;
const loadLanguages = require('prismjs/components/');

function createPrismPlugin(options) {
Expand Down
Loading

0 comments on commit 3086dbe

Please sign in to comment.