mirror of
https://github.com/wahyd4/docsify.git
synced 2026-08-09 05:16:06 +10:00
* chore: added new linter config * chore: linting fixes * chore: refactore in linting config and minor linting fixes
21 lines
464 B
JavaScript
21 lines
464 B
JavaScript
import * as util from './util';
|
|
import * as dom from './util/dom';
|
|
import { Compiler } from './render/compiler';
|
|
import { slugify } from './render/slugify';
|
|
import { get } from './fetch/ajax';
|
|
import marked from 'marked';
|
|
import prism from 'prismjs';
|
|
|
|
export default function() {
|
|
window.Docsify = {
|
|
util,
|
|
dom,
|
|
get,
|
|
slugify,
|
|
version: '__VERSION__',
|
|
};
|
|
window.DocsifyCompiler = Compiler;
|
|
window.marked = marked;
|
|
window.Prism = prism;
|
|
}
|