Skip to content

Commit

Permalink
🎨 #822
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Nov 23, 2020
1 parent 98606d2 commit cbe835a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions demo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,27 +50,21 @@ if (window.innerWidth < 768) {
}

window.vditor = new Vditor('vditor', {
_lutePath: `http://192.168.0.107:9090/lute.min.js?${new Date().getTime()}`,
// _lutePath: 'src/js/lute/lute.min.js',
cdn: 'http://localhost:9000',
// _lutePath: `http://192.168.0.107:9090/lute.min.js?${new Date().getTime()}`,
_lutePath: 'src/js/lute/lute.min.js',
toolbar,
mode: 'wysiwyg',
height: window.innerHeight + 100,
outline: true,
debugger: true,
typewriterMode: true,
placeholder: 'Hello, Vditor!',
theme: 'dark',
preview: {
markdown: {
toc: true,
mark: true,
footnotes: true,
},
theme: {
current: 'dark',
path: 'http://localhost:9000/src/css/content-theme',
},
math: {
engine: 'MathJax',
},
Expand Down

0 comments on commit cbe835a

Please sign in to comment.