Skip to content

Commit 3086dbe

Browse files
committed
fix: use default export from posthtml-render
1 parent b0f428e commit 3086dbe

File tree

2 files changed

+2090
-3090
lines changed

2 files changed

+2090
-3090
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const Prism = require('prismjs');
4-
const render = require('posthtml-render');
4+
const render = require('posthtml-render').default;
55
const loadLanguages = require('prismjs/components/');
66

77
function createPrismPlugin(options) {

0 commit comments

Comments
 (0)