mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-10 16:05:32 +02:00
merge
This commit is contained in:
parent
481066f039
commit
53459664ba
5 changed files with 1667 additions and 12876 deletions
12071
package-lock.json
generated
12071
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
||||||
import hljs from "highlight.js/lib/highlight";
|
import hljs from 'highlight.js/lib/highlight';
|
||||||
import javascript from 'highlight.js/lib/languages/javascript';
|
import javascript from 'highlight.js/lib/languages/javascript';
|
||||||
import style from 'highlight.js/styles/github-gist.css';
|
import style from 'highlight.js/styles/github-gist.css';
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ export default class Writing {
|
||||||
const {default: CodeStyler} = await import(/* webpackChunkName: "code-styling" */ './../classes/codeStyler');
|
const {default: CodeStyler} = await import(/* webpackChunkName: "code-styling" */ './../classes/codeStyler');
|
||||||
|
|
||||||
return new CodeStyler({
|
return new CodeStyler({
|
||||||
selector: '.block-code',
|
selector: '.block-code'
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ export default class Writing {
|
||||||
|
|
||||||
moduleEl.appendChild(this.nodes.editorWrapper);
|
moduleEl.appendChild(this.nodes.editorWrapper);
|
||||||
|
|
||||||
if (settings.page){
|
if (settings.page) {
|
||||||
this.page = settings.page;
|
this.page = settings.page;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue