use Webpack code-splitting to dynamically import Highlight.js languages as they are detected by Showdown Markdown extension
This commit is contained in:
parent
8dc2a99926
commit
41c12c853c
9 changed files with 70 additions and 33 deletions
3
static/js/types/custom.d.ts
vendored
Normal file
3
static/js/types/custom.d.ts
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
declare var System: {
|
||||
import: (module: string) => Promise<any>;
|
||||
};
|
Reference in a new issue