Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit cd5f318

Browse files
fix(#283): webpack markdown plugin remarkable import
1 parent da47aa0 commit cd5f318

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpack/src/markdown/deckdeckgo-markdown-plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const fs = require('fs');
44
const path = require('path');
55
const readline = require('readline');
66

7-
const Remarkable = require('remarkable');
7+
const {Remarkable} = require('remarkable');
88
const {replaceEntities, escapeHtml, unescapeMd} = require('remarkable');
99

1010
const util = require('util');
@@ -303,7 +303,7 @@ class DeckDeckGoMarkdownPlugin {
303303

304304
return result;
305305
}
306-
306+
307307
private renderLineWithoutFormatting(line: string): string {
308308
return this.escapeUnsafe(line) + '\n';
309309
}

0 commit comments

Comments
 (0)