diff options
Diffstat (limited to '')
| -rw-r--r-- | src/api/common/text/elements/inline-code.ts (renamed from src/common/text/elements/inline-code.js) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/text/elements/inline-code.js b/src/api/common/text/elements/inline-code.ts index 37e9b1a0ff..9f9ef51a2b 100644 --- a/src/common/text/elements/inline-code.js +++ b/src/api/common/text/elements/inline-code.ts @@ -2,7 +2,7 @@ * Code (inline) */ -const genHtml = require('../core/syntax-highlighter'); +import genHtml from '../core/syntax-highlighter'; module.exports = text => { const match = text.match(/^`(.+?)`/); |