forked from laobubu/HyperMD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequirejs_packages.js
29 lines (27 loc) · 1.1 KB
/
requirejs_packages.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// RequireJS doesn't read package.json
// Please, configure it before loading HyperMD:
//
// requirejs.config({
// packages: [
// { name: 'codemirror', main: 'lib/codemirror.js' },
// { name: 'katex', main: 'dist/katex.min.js' },
// /* ... and more */
// ]
// })
//
// (This configuration is just a example / reference. Feel free to modify it)
var requirejs_packages = [
{ name: 'hypermd', main: 'everything.js' },
{ name: 'codemirror', main: 'lib/codemirror.js' },
{ name: 'mathjax', main: 'MathJax.js' },
{ name: 'katex', main: 'dist/katex.min.js' },
{ name: 'marked', main: 'lib/marked.js' },
{ name: 'turndown', main: 'lib/turndown.browser.umd.js' },
{ name: 'turndown-plugin-gfm', main: 'dist/turndown-plugin-gfm.js' },
{ name: 'emojione', main: 'lib/js/emojione.min.js' },
{ name: 'twemoji', main: '2/twemoji.amd.js' },
{ name: 'flowchart.js', main: 'release/flowchart.min.js' },
{ name: 'Raphael', main: 'raphael.min.js' }, // stupid
{ name: 'raphael', main: 'raphael.min.js' },
// { name: 'mermaid', main: 'dist/mermaid.js' }, // mermaid AMD is buggy and unavaliable
]