├── .gitignore ├── README.md ├── marknote.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings │ └── xcuserdata │ │ └── zhongheming.xcuserdatad │ │ └── WorkspaceSettings.xcsettings ├── xcshareddata │ └── xcschemes │ │ └── marknote.xcscheme └── xcuserdata │ └── zhongheming.xcuserdatad │ ├── xcdebugger │ └── Breakpoints_v2.xcbkptlist │ └── xcschemes │ └── xcschememanagement.plist ├── marknote ├── Assets.xcassets │ ├── AccentColor.colorset │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ └── toolbaricon.symbolset │ │ └── Contents.json ├── CoreData │ ├── Persistence.swift │ └── marknote.xcdatamodeld │ │ ├── .xccurrentversion │ │ └── marknote.xcdatamodel │ │ └── contents ├── Editor │ ├── Editor.bundle │ │ ├── Info.plist │ │ ├── Vditor │ │ │ ├── dist-ver3.8 │ │ │ │ ├── css │ │ │ │ │ └── content-theme │ │ │ │ │ │ ├── ant-design.css │ │ │ │ │ │ ├── dark.css │ │ │ │ │ │ ├── light.css │ │ │ │ │ │ └── wechat.css │ │ │ │ ├── images │ │ │ │ │ ├── emoji │ │ │ │ │ │ ├── b3log.png │ │ │ │ │ │ ├── chainbook.png │ │ │ │ │ │ ├── doge.png │ │ │ │ │ │ ├── hacpai.png │ │ │ │ │ │ ├── huaji.gif │ │ │ │ │ │ ├── latke.png │ │ │ │ │ │ ├── lute.png │ │ │ │ │ │ ├── octocat.png │ │ │ │ │ │ ├── pipe.png │ │ │ │ │ │ ├── solo.png │ │ │ │ │ │ ├── sym.png │ │ │ │ │ │ ├── trollface.png │ │ │ │ │ │ ├── vditor.png │ │ │ │ │ │ ├── wide.png │ │ │ │ │ │ └── wulian.png │ │ │ │ │ ├── img-loading.svg │ │ │ │ │ └── logo.png │ │ │ │ ├── index.css │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.min.js │ │ │ │ ├── js │ │ │ │ │ ├── abcjs │ │ │ │ │ │ └── abcjs_basic.min.js │ │ │ │ │ ├── echarts │ │ │ │ │ │ └── echarts.min.js │ │ │ │ │ ├── flowchart.js │ │ │ │ │ │ └── flowchart.min.js │ │ │ │ │ ├── graphviz │ │ │ │ │ │ ├── full.render.js │ │ │ │ │ │ └── viz.js │ │ │ │ │ ├── highlight.js │ │ │ │ │ │ ├── highlight.pack.js │ │ │ │ │ │ └── styles │ │ │ │ │ │ │ ├── abap.css │ │ │ │ │ │ │ ├── algol.css │ │ │ │ │ │ │ ├── algol_nu.css │ │ │ │ │ │ │ ├── ant-design.css │ │ │ │ │ │ │ ├── arduino.css │ │ │ │ │ │ │ ├── autumn.css │ │ │ │ │ │ │ ├── borland.css │ │ │ │ │ │ │ ├── bw.css │ │ │ │ │ │ │ ├── colorful.css │ │ │ │ │ │ │ ├── dracula.css │ │ │ │ │ │ │ ├── emacs.css │ │ │ │ │ │ │ ├── friendly.css │ │ │ │ │ │ │ ├── fruity.css │ │ │ │ │ │ │ ├── github.css │ │ │ │ │ │ │ ├── igor.css │ │ │ │ │ │ │ ├── lovelace.css │ │ │ │ │ │ │ ├── manni.css │ │ │ │ │ │ │ ├── monokai.css │ │ │ │ │ │ │ ├── monokailight.css │ │ │ │ │ │ │ ├── murphy.css │ │ │ │ │ │ │ ├── native.css │ │ │ │ │ │ │ ├── paraiso-dark.css │ │ │ │ │ │ │ ├── paraiso-light.css │ │ │ │ │ │ │ ├── pastie.css │ │ │ │ │ │ │ ├── perldoc.css │ │ │ │ │ │ │ ├── pygments.css │ │ │ │ │ │ │ ├── rainbow_dash.css │ │ │ │ │ │ │ ├── rrt.css │ │ │ │ │ │ │ ├── solarized-dark.css │ │ │ │ │ │ │ ├── solarized-dark256.css │ │ │ │ │ │ │ ├── solarized-light.css │ │ │ │ │ │ │ ├── swapoff.css │ │ │ │ │ │ │ ├── tango.css │ │ │ │ │ │ │ ├── trac.css │ │ │ │ │ │ │ ├── vim.css │ │ │ │ │ │ │ ├── vs.css │ │ │ │ │ │ │ └── xcode.css │ │ │ │ │ ├── icons │ │ │ │ │ │ ├── ant.js │ │ │ │ │ │ └── material.js │ │ │ │ │ ├── katex │ │ │ │ │ │ ├── fonts │ │ │ │ │ │ │ ├── KaTeX_AMS-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_AMS-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_AMS-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Caligraphic-Bold.ttf │ │ │ │ │ │ │ ├── KaTeX_Caligraphic-Bold.woff │ │ │ │ │ │ │ ├── KaTeX_Caligraphic-Bold.woff2 │ │ │ │ │ │ │ ├── KaTeX_Caligraphic-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Caligraphic-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Caligraphic-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Fraktur-Bold.ttf │ │ │ │ │ │ │ ├── KaTeX_Fraktur-Bold.woff │ │ │ │ │ │ │ ├── KaTeX_Fraktur-Bold.woff2 │ │ │ │ │ │ │ ├── KaTeX_Fraktur-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Fraktur-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Fraktur-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Main-Bold.ttf │ │ │ │ │ │ │ ├── KaTeX_Main-Bold.woff │ │ │ │ │ │ │ ├── KaTeX_Main-Bold.woff2 │ │ │ │ │ │ │ ├── KaTeX_Main-BoldItalic.ttf │ │ │ │ │ │ │ ├── KaTeX_Main-BoldItalic.woff │ │ │ │ │ │ │ ├── KaTeX_Main-BoldItalic.woff2 │ │ │ │ │ │ │ ├── KaTeX_Main-Italic.ttf │ │ │ │ │ │ │ ├── KaTeX_Main-Italic.woff │ │ │ │ │ │ │ ├── KaTeX_Main-Italic.woff2 │ │ │ │ │ │ │ ├── KaTeX_Main-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Main-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Main-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Math-BoldItalic.ttf │ │ │ │ │ │ │ ├── KaTeX_Math-BoldItalic.woff │ │ │ │ │ │ │ ├── KaTeX_Math-BoldItalic.woff2 │ │ │ │ │ │ │ ├── KaTeX_Math-Italic.ttf │ │ │ │ │ │ │ ├── KaTeX_Math-Italic.woff │ │ │ │ │ │ │ ├── KaTeX_Math-Italic.woff2 │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Bold.ttf │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Bold.woff │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Bold.woff2 │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Italic.ttf │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Italic.woff │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Italic.woff2 │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Script-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Script-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Script-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Size1-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Size1-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Size1-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Size2-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Size2-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Size2-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Size3-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Size3-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Size3-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Size4-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Size4-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Size4-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Typewriter-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Typewriter-Regular.woff │ │ │ │ │ │ │ └── KaTeX_Typewriter-Regular.woff2 │ │ │ │ │ │ ├── katex.min.css │ │ │ │ │ │ └── katex.min.js │ │ │ │ │ ├── lute │ │ │ │ │ │ └── lute.min.js │ │ │ │ │ ├── mathjax │ │ │ │ │ │ ├── input │ │ │ │ │ │ │ ├── asciimath.js │ │ │ │ │ │ │ ├── mml.js │ │ │ │ │ │ │ ├── mml │ │ │ │ │ │ │ │ └── entities.js │ │ │ │ │ │ │ ├── tex-base.js │ │ │ │ │ │ │ ├── tex-full.js │ │ │ │ │ │ │ ├── tex.js │ │ │ │ │ │ │ └── tex │ │ │ │ │ │ │ │ └── extensions │ │ │ │ │ │ │ │ ├── action.js │ │ │ │ │ │ │ │ ├── all-packages.js │ │ │ │ │ │ │ │ ├── ams.js │ │ │ │ │ │ │ │ ├── amscd.js │ │ │ │ │ │ │ │ ├── autoload.js │ │ │ │ │ │ │ │ ├── bbox.js │ │ │ │ │ │ │ │ ├── boldsymbol.js │ │ │ │ │ │ │ │ ├── braket.js │ │ │ │ │ │ │ │ ├── bussproofs.js │ │ │ │ │ │ │ │ ├── cancel.js │ │ │ │ │ │ │ │ ├── color.js │ │ │ │ │ │ │ │ ├── colorV2.js │ │ │ │ │ │ │ │ ├── configMacros.js │ │ │ │ │ │ │ │ ├── enclose.js │ │ │ │ │ │ │ │ ├── extpfeil.js │ │ │ │ │ │ │ │ ├── html.js │ │ │ │ │ │ │ │ ├── mhchem.js │ │ │ │ │ │ │ │ ├── newcommand.js │ │ │ │ │ │ │ │ ├── noerrors.js │ │ │ │ │ │ │ │ ├── noundefined.js │ │ │ │ │ │ │ │ ├── physics.js │ │ │ │ │ │ │ │ ├── require.js │ │ │ │ │ │ │ │ ├── tagFormat.js │ │ │ │ │ │ │ │ ├── unicode.js │ │ │ │ │ │ │ │ └── verb.js │ │ │ │ │ │ └── tex-svg.js │ │ │ │ │ ├── mermaid │ │ │ │ │ │ └── mermaid.min.js │ │ │ │ │ └── plantuml │ │ │ │ │ │ └── plantuml-encoder.min.js │ │ │ │ ├── method.d.ts │ │ │ │ ├── method.min.js │ │ │ │ ├── ts │ │ │ │ │ ├── constants.d.ts │ │ │ │ │ ├── devtools │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── export │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── hint │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── i18n │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── ir │ │ │ │ │ │ ├── expandMarker.d.ts │ │ │ │ │ │ ├── highlightToolbarIR.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ ├── input.d.ts │ │ │ │ │ │ ├── process.d.ts │ │ │ │ │ │ └── processKeydown.d.ts │ │ │ │ │ ├── markdown │ │ │ │ │ │ ├── abcRender.d.ts │ │ │ │ │ │ ├── anchorRender.d.ts │ │ │ │ │ │ ├── chartRender.d.ts │ │ │ │ │ │ ├── codeRender.d.ts │ │ │ │ │ │ ├── flowchartRender.d.ts │ │ │ │ │ │ ├── getHTML.d.ts │ │ │ │ │ │ ├── getMarkdown.d.ts │ │ │ │ │ │ ├── graphvizRender.d.ts │ │ │ │ │ │ ├── highlightRender.d.ts │ │ │ │ │ │ ├── lazyLoadImageRender.d.ts │ │ │ │ │ │ ├── mathRender.d.ts │ │ │ │ │ │ ├── mediaRender.d.ts │ │ │ │ │ │ ├── mermaidRender.d.ts │ │ │ │ │ │ ├── mindmapRender.d.ts │ │ │ │ │ │ ├── outlineRender.d.ts │ │ │ │ │ │ ├── plantumlRender.d.ts │ │ │ │ │ │ ├── previewRender.d.ts │ │ │ │ │ │ ├── setLute.d.ts │ │ │ │ │ │ └── speechRender.d.ts │ │ │ │ │ ├── outline │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── preview │ │ │ │ │ │ ├── image.d.ts │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── resize │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── sv │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ ├── inputEvent.d.ts │ │ │ │ │ │ ├── process.d.ts │ │ │ │ │ │ └── processKeydown.d.ts │ │ │ │ │ ├── tip │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── toolbar │ │ │ │ │ │ ├── Both.d.ts │ │ │ │ │ │ ├── Br.d.ts │ │ │ │ │ │ ├── CodeTheme.d.ts │ │ │ │ │ │ ├── ContentTheme.d.ts │ │ │ │ │ │ ├── Counter.d.ts │ │ │ │ │ │ ├── Custom.d.ts │ │ │ │ │ │ ├── Devtools.d.ts │ │ │ │ │ │ ├── Divider.d.ts │ │ │ │ │ │ ├── EditMode.d.ts │ │ │ │ │ │ ├── Emoji.d.ts │ │ │ │ │ │ ├── Export.d.ts │ │ │ │ │ │ ├── Fullscreen.d.ts │ │ │ │ │ │ ├── Headings.d.ts │ │ │ │ │ │ ├── Help.d.ts │ │ │ │ │ │ ├── Indent.d.ts │ │ │ │ │ │ ├── Info.d.ts │ │ │ │ │ │ ├── InsertAfter.d.ts │ │ │ │ │ │ ├── InsertBefore.d.ts │ │ │ │ │ │ ├── MenuItem.d.ts │ │ │ │ │ │ ├── Outdent.d.ts │ │ │ │ │ │ ├── Outline.d.ts │ │ │ │ │ │ ├── Preview.d.ts │ │ │ │ │ │ ├── Record.d.ts │ │ │ │ │ │ ├── Redo.d.ts │ │ │ │ │ │ ├── Undo.d.ts │ │ │ │ │ │ ├── Upload.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ └── setToolbar.d.ts │ │ │ │ │ ├── ui │ │ │ │ │ │ ├── initUI.d.ts │ │ │ │ │ │ ├── setCodeTheme.d.ts │ │ │ │ │ │ ├── setContentTheme.d.ts │ │ │ │ │ │ ├── setPreviewMode.d.ts │ │ │ │ │ │ └── setTheme.d.ts │ │ │ │ │ ├── undo │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── upload │ │ │ │ │ │ ├── getElement.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ └── setHeaders.d.ts │ │ │ │ │ ├── util │ │ │ │ │ │ ├── Options.d.ts │ │ │ │ │ │ ├── RecordMedia.d.ts │ │ │ │ │ │ ├── addScript.d.ts │ │ │ │ │ │ ├── addStyle.d.ts │ │ │ │ │ │ ├── code160to32.d.ts │ │ │ │ │ │ ├── compatibility.d.ts │ │ │ │ │ │ ├── editorCommonEvent.d.ts │ │ │ │ │ │ ├── fixBrowserBehavior.d.ts │ │ │ │ │ │ ├── getSelectText.d.ts │ │ │ │ │ │ ├── hasClosest.d.ts │ │ │ │ │ │ ├── hasClosestByHeadings.d.ts │ │ │ │ │ │ ├── highlightToolbar.d.ts │ │ │ │ │ │ ├── hotKey.d.ts │ │ │ │ │ │ ├── log.d.ts │ │ │ │ │ │ ├── merge.d.ts │ │ │ │ │ │ ├── processCode.d.ts │ │ │ │ │ │ ├── selection.d.ts │ │ │ │ │ │ └── toc.d.ts │ │ │ │ │ └── wysiwyg │ │ │ │ │ │ ├── afterRenderEvent.d.ts │ │ │ │ │ │ ├── highlightToolbarWYSIWYG.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ ├── inlineTag.d.ts │ │ │ │ │ │ ├── input.d.ts │ │ │ │ │ │ ├── processKeydown.d.ts │ │ │ │ │ │ ├── renderDomByMd.d.ts │ │ │ │ │ │ ├── setHeading.d.ts │ │ │ │ │ │ ├── showCode.d.ts │ │ │ │ │ │ └── toolbarEvent.d.ts │ │ │ │ └── types │ │ │ │ │ └── index.d.ts │ │ │ ├── dist │ │ │ │ ├── css │ │ │ │ │ └── content-theme │ │ │ │ │ │ ├── ant-design.css │ │ │ │ │ │ ├── dark.css │ │ │ │ │ │ ├── light.css │ │ │ │ │ │ └── wechat.css │ │ │ │ ├── images │ │ │ │ │ ├── emoji │ │ │ │ │ │ ├── b3log.png │ │ │ │ │ │ ├── chainbook.png │ │ │ │ │ │ ├── doge.png │ │ │ │ │ │ ├── hacpai.png │ │ │ │ │ │ ├── huaji.gif │ │ │ │ │ │ ├── latke.png │ │ │ │ │ │ ├── lute.png │ │ │ │ │ │ ├── octocat.png │ │ │ │ │ │ ├── pipe.png │ │ │ │ │ │ ├── solo.png │ │ │ │ │ │ ├── sym.png │ │ │ │ │ │ ├── trollface.png │ │ │ │ │ │ ├── vditor.png │ │ │ │ │ │ ├── wide.png │ │ │ │ │ │ └── wulian.png │ │ │ │ │ ├── img-loading.svg │ │ │ │ │ └── logo.png │ │ │ │ ├── index.css │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.min.js │ │ │ │ ├── js │ │ │ │ │ ├── abcjs │ │ │ │ │ │ └── abcjs_basic.min.js │ │ │ │ │ ├── echarts │ │ │ │ │ │ └── echarts.min.js │ │ │ │ │ ├── flowchart.js │ │ │ │ │ │ └── flowchart.min.js │ │ │ │ │ ├── graphviz │ │ │ │ │ │ ├── full.render.js │ │ │ │ │ │ └── viz.js │ │ │ │ │ ├── highlight.js │ │ │ │ │ │ ├── highlight.pack.js │ │ │ │ │ │ └── styles │ │ │ │ │ │ │ ├── abap.css │ │ │ │ │ │ │ ├── algol.css │ │ │ │ │ │ │ ├── algol_nu.css │ │ │ │ │ │ │ ├── ant-design.css │ │ │ │ │ │ │ ├── arduino.css │ │ │ │ │ │ │ ├── autumn.css │ │ │ │ │ │ │ ├── borland.css │ │ │ │ │ │ │ ├── bw.css │ │ │ │ │ │ │ ├── colorful.css │ │ │ │ │ │ │ ├── dracula.css │ │ │ │ │ │ │ ├── emacs.css │ │ │ │ │ │ │ ├── friendly.css │ │ │ │ │ │ │ ├── fruity.css │ │ │ │ │ │ │ ├── github.css │ │ │ │ │ │ │ ├── igor.css │ │ │ │ │ │ │ ├── lovelace.css │ │ │ │ │ │ │ ├── manni.css │ │ │ │ │ │ │ ├── monokai.css │ │ │ │ │ │ │ ├── monokailight.css │ │ │ │ │ │ │ ├── murphy.css │ │ │ │ │ │ │ ├── native.css │ │ │ │ │ │ │ ├── paraiso-dark.css │ │ │ │ │ │ │ ├── paraiso-light.css │ │ │ │ │ │ │ ├── pastie.css │ │ │ │ │ │ │ ├── perldoc.css │ │ │ │ │ │ │ ├── pygments.css │ │ │ │ │ │ │ ├── rainbow_dash.css │ │ │ │ │ │ │ ├── rrt.css │ │ │ │ │ │ │ ├── solarized-dark.css │ │ │ │ │ │ │ ├── solarized-dark256.css │ │ │ │ │ │ │ ├── solarized-light.css │ │ │ │ │ │ │ ├── swapoff.css │ │ │ │ │ │ │ ├── tango.css │ │ │ │ │ │ │ ├── trac.css │ │ │ │ │ │ │ ├── vim.css │ │ │ │ │ │ │ ├── vs.css │ │ │ │ │ │ │ └── xcode.css │ │ │ │ │ ├── i18n │ │ │ │ │ │ ├── en_US.js │ │ │ │ │ │ ├── ja_JP.js │ │ │ │ │ │ ├── ko_KR.js │ │ │ │ │ │ ├── ru_RU.js │ │ │ │ │ │ ├── zh_CN.js │ │ │ │ │ │ └── zh_TW.js │ │ │ │ │ ├── icons │ │ │ │ │ │ ├── ant.js │ │ │ │ │ │ └── material.js │ │ │ │ │ ├── katex │ │ │ │ │ │ ├── fonts │ │ │ │ │ │ │ ├── KaTeX_AMS-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_AMS-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_AMS-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Caligraphic-Bold.ttf │ │ │ │ │ │ │ ├── KaTeX_Caligraphic-Bold.woff │ │ │ │ │ │ │ ├── KaTeX_Caligraphic-Bold.woff2 │ │ │ │ │ │ │ ├── KaTeX_Caligraphic-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Caligraphic-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Caligraphic-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Fraktur-Bold.ttf │ │ │ │ │ │ │ ├── KaTeX_Fraktur-Bold.woff │ │ │ │ │ │ │ ├── KaTeX_Fraktur-Bold.woff2 │ │ │ │ │ │ │ ├── KaTeX_Fraktur-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Fraktur-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Fraktur-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Main-Bold.ttf │ │ │ │ │ │ │ ├── KaTeX_Main-Bold.woff │ │ │ │ │ │ │ ├── KaTeX_Main-Bold.woff2 │ │ │ │ │ │ │ ├── KaTeX_Main-BoldItalic.ttf │ │ │ │ │ │ │ ├── KaTeX_Main-BoldItalic.woff │ │ │ │ │ │ │ ├── KaTeX_Main-BoldItalic.woff2 │ │ │ │ │ │ │ ├── KaTeX_Main-Italic.ttf │ │ │ │ │ │ │ ├── KaTeX_Main-Italic.woff │ │ │ │ │ │ │ ├── KaTeX_Main-Italic.woff2 │ │ │ │ │ │ │ ├── KaTeX_Main-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Main-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Main-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Math-BoldItalic.ttf │ │ │ │ │ │ │ ├── KaTeX_Math-BoldItalic.woff │ │ │ │ │ │ │ ├── KaTeX_Math-BoldItalic.woff2 │ │ │ │ │ │ │ ├── KaTeX_Math-Italic.ttf │ │ │ │ │ │ │ ├── KaTeX_Math-Italic.woff │ │ │ │ │ │ │ ├── KaTeX_Math-Italic.woff2 │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Bold.ttf │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Bold.woff │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Bold.woff2 │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Italic.ttf │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Italic.woff │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Italic.woff2 │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_SansSerif-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Script-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Script-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Script-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Size1-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Size1-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Size1-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Size2-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Size2-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Size2-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Size3-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Size3-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Size3-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Size4-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Size4-Regular.woff │ │ │ │ │ │ │ ├── KaTeX_Size4-Regular.woff2 │ │ │ │ │ │ │ ├── KaTeX_Typewriter-Regular.ttf │ │ │ │ │ │ │ ├── KaTeX_Typewriter-Regular.woff │ │ │ │ │ │ │ └── KaTeX_Typewriter-Regular.woff2 │ │ │ │ │ │ ├── katex.min.css │ │ │ │ │ │ └── katex.min.js │ │ │ │ │ ├── lute │ │ │ │ │ │ └── lute.min.js │ │ │ │ │ ├── mathjax │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── a11y │ │ │ │ │ │ │ ├── assistive-mml.js │ │ │ │ │ │ │ ├── complexity.js │ │ │ │ │ │ │ ├── explorer.js │ │ │ │ │ │ │ └── semantic-enrich.js │ │ │ │ │ │ ├── input │ │ │ │ │ │ │ ├── asciimath.js │ │ │ │ │ │ │ ├── mml.js │ │ │ │ │ │ │ ├── mml │ │ │ │ │ │ │ │ └── entities.js │ │ │ │ │ │ │ ├── tex-base.js │ │ │ │ │ │ │ ├── tex-full.js │ │ │ │ │ │ │ ├── tex.js │ │ │ │ │ │ │ └── tex │ │ │ │ │ │ │ │ └── extensions │ │ │ │ │ │ │ │ ├── action.js │ │ │ │ │ │ │ │ ├── all-packages.js │ │ │ │ │ │ │ │ ├── ams.js │ │ │ │ │ │ │ │ ├── amscd.js │ │ │ │ │ │ │ │ ├── autoload.js │ │ │ │ │ │ │ │ ├── bbox.js │ │ │ │ │ │ │ │ ├── boldsymbol.js │ │ │ │ │ │ │ │ ├── braket.js │ │ │ │ │ │ │ │ ├── bussproofs.js │ │ │ │ │ │ │ │ ├── cancel.js │ │ │ │ │ │ │ │ ├── color.js │ │ │ │ │ │ │ │ ├── colorV2.js │ │ │ │ │ │ │ │ ├── configMacros.js │ │ │ │ │ │ │ │ ├── enclose.js │ │ │ │ │ │ │ │ ├── extpfeil.js │ │ │ │ │ │ │ │ ├── html.js │ │ │ │ │ │ │ │ ├── mhchem.js │ │ │ │ │ │ │ │ ├── newcommand.js │ │ │ │ │ │ │ │ ├── noerrors.js │ │ │ │ │ │ │ │ ├── noundefined.js │ │ │ │ │ │ │ │ ├── physics.js │ │ │ │ │ │ │ │ ├── require.js │ │ │ │ │ │ │ │ ├── tagFormat.js │ │ │ │ │ │ │ │ ├── textmacros.js │ │ │ │ │ │ │ │ ├── unicode.js │ │ │ │ │ │ │ │ └── verb.js │ │ │ │ │ │ ├── sre │ │ │ │ │ │ │ ├── mathmaps │ │ │ │ │ │ │ │ ├── de.js │ │ │ │ │ │ │ │ ├── en.js │ │ │ │ │ │ │ │ ├── es.js │ │ │ │ │ │ │ │ ├── fr.js │ │ │ │ │ │ │ │ ├── mathmaps_ie.js │ │ │ │ │ │ │ │ └── nemeth.js │ │ │ │ │ │ │ ├── sre-node.js │ │ │ │ │ │ │ └── sre_browser.js │ │ │ │ │ │ └── tex-svg-full.js │ │ │ │ │ ├── mermaid │ │ │ │ │ │ └── mermaid.min.js │ │ │ │ │ └── plantuml │ │ │ │ │ │ └── plantuml-encoder.min.js │ │ │ │ ├── method.d.ts │ │ │ │ ├── method.min.js │ │ │ │ ├── ts │ │ │ │ │ ├── constants.d.ts │ │ │ │ │ ├── devtools │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── export │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── hint │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── ir │ │ │ │ │ │ ├── expandMarker.d.ts │ │ │ │ │ │ ├── highlightToolbarIR.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ ├── input.d.ts │ │ │ │ │ │ ├── process.d.ts │ │ │ │ │ │ └── processKeydown.d.ts │ │ │ │ │ ├── markdown │ │ │ │ │ │ ├── abcRender.d.ts │ │ │ │ │ │ ├── adapterRender.d.ts │ │ │ │ │ │ ├── anchorRender.d.ts │ │ │ │ │ │ ├── chartRender.d.ts │ │ │ │ │ │ ├── codeRender.d.ts │ │ │ │ │ │ ├── flowchartRender.d.ts │ │ │ │ │ │ ├── getHTML.d.ts │ │ │ │ │ │ ├── getMarkdown.d.ts │ │ │ │ │ │ ├── graphvizRender.d.ts │ │ │ │ │ │ ├── highlightRender.d.ts │ │ │ │ │ │ ├── lazyLoadImageRender.d.ts │ │ │ │ │ │ ├── mathRender.d.ts │ │ │ │ │ │ ├── mediaRender.d.ts │ │ │ │ │ │ ├── mermaidRender.d.ts │ │ │ │ │ │ ├── mindmapRender.d.ts │ │ │ │ │ │ ├── outlineRender.d.ts │ │ │ │ │ │ ├── plantumlRender.d.ts │ │ │ │ │ │ ├── previewRender.d.ts │ │ │ │ │ │ ├── setLute.d.ts │ │ │ │ │ │ └── speechRender.d.ts │ │ │ │ │ ├── outline │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── preview │ │ │ │ │ │ ├── image.d.ts │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── resize │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── sv │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ ├── inputEvent.d.ts │ │ │ │ │ │ ├── process.d.ts │ │ │ │ │ │ └── processKeydown.d.ts │ │ │ │ │ ├── tip │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── toolbar │ │ │ │ │ │ ├── Both.d.ts │ │ │ │ │ │ ├── Br.d.ts │ │ │ │ │ │ ├── CodeTheme.d.ts │ │ │ │ │ │ ├── ContentTheme.d.ts │ │ │ │ │ │ ├── Counter.d.ts │ │ │ │ │ │ ├── Custom.d.ts │ │ │ │ │ │ ├── Devtools.d.ts │ │ │ │ │ │ ├── Divider.d.ts │ │ │ │ │ │ ├── EditMode.d.ts │ │ │ │ │ │ ├── Emoji.d.ts │ │ │ │ │ │ ├── Export.d.ts │ │ │ │ │ │ ├── Fullscreen.d.ts │ │ │ │ │ │ ├── Headings.d.ts │ │ │ │ │ │ ├── Help.d.ts │ │ │ │ │ │ ├── Indent.d.ts │ │ │ │ │ │ ├── Info.d.ts │ │ │ │ │ │ ├── InsertAfter.d.ts │ │ │ │ │ │ ├── InsertBefore.d.ts │ │ │ │ │ │ ├── MenuItem.d.ts │ │ │ │ │ │ ├── Outdent.d.ts │ │ │ │ │ │ ├── Outline.d.ts │ │ │ │ │ │ ├── Preview.d.ts │ │ │ │ │ │ ├── Record.d.ts │ │ │ │ │ │ ├── Redo.d.ts │ │ │ │ │ │ ├── Undo.d.ts │ │ │ │ │ │ ├── Upload.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ └── setToolbar.d.ts │ │ │ │ │ ├── ui │ │ │ │ │ │ ├── initUI.d.ts │ │ │ │ │ │ ├── setCodeTheme.d.ts │ │ │ │ │ │ ├── setContentTheme.d.ts │ │ │ │ │ │ ├── setPreviewMode.d.ts │ │ │ │ │ │ └── setTheme.d.ts │ │ │ │ │ ├── undo │ │ │ │ │ │ └── index.d.ts │ │ │ │ │ ├── upload │ │ │ │ │ │ ├── getElement.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ └── setHeaders.d.ts │ │ │ │ │ ├── util │ │ │ │ │ │ ├── Options.d.ts │ │ │ │ │ │ ├── RecordMedia.d.ts │ │ │ │ │ │ ├── addScript.d.ts │ │ │ │ │ │ ├── addStyle.d.ts │ │ │ │ │ │ ├── code160to32.d.ts │ │ │ │ │ │ ├── compatibility.d.ts │ │ │ │ │ │ ├── editorCommonEvent.d.ts │ │ │ │ │ │ ├── fixBrowserBehavior.d.ts │ │ │ │ │ │ ├── getSelectText.d.ts │ │ │ │ │ │ ├── hasClosest.d.ts │ │ │ │ │ │ ├── hasClosestByHeadings.d.ts │ │ │ │ │ │ ├── highlightToolbar.d.ts │ │ │ │ │ │ ├── hotKey.d.ts │ │ │ │ │ │ ├── log.d.ts │ │ │ │ │ │ ├── merge.d.ts │ │ │ │ │ │ ├── processCode.d.ts │ │ │ │ │ │ ├── selection.d.ts │ │ │ │ │ │ └── toc.d.ts │ │ │ │ │ └── wysiwyg │ │ │ │ │ │ ├── afterRenderEvent.d.ts │ │ │ │ │ │ ├── highlightToolbarWYSIWYG.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ ├── inlineTag.d.ts │ │ │ │ │ │ ├── input.d.ts │ │ │ │ │ │ ├── processKeydown.d.ts │ │ │ │ │ │ ├── renderDomByMd.d.ts │ │ │ │ │ │ ├── setHeading.d.ts │ │ │ │ │ │ ├── showCode.d.ts │ │ │ │ │ │ └── toolbarEvent.d.ts │ │ │ │ └── types │ │ │ │ │ └── index.d.ts │ │ │ └── src │ │ │ │ ├── purple.css │ │ │ │ ├── purple.user.css │ │ │ │ └── test.html │ │ └── _CodeSignature │ │ │ ├── CodeDirectory │ │ │ ├── CodeRequirements │ │ │ ├── CodeRequirements-1 │ │ │ ├── CodeResources │ │ │ └── CodeSignature │ ├── EditorView.swift │ └── VditorLib │ │ ├── Bundle.swift │ │ ├── Data.swift │ │ ├── Mode.swift │ │ ├── Theme.swift │ │ ├── VditorController.swift │ │ ├── VditorView.swift │ │ ├── VditorViewRPC.swift │ │ └── toolbars.swift ├── FileLib │ ├── File.swift │ ├── FileContext.swift │ └── FilePicker.swift ├── Info.plist ├── Inputs │ └── TrackpadKeyboard.swift ├── MainView.swift ├── Preview Assets.xcassets │ └── Contents.json ├── Usersetting.swift ├── Views │ ├── DrawerComponent │ │ ├── FileTreeView.swift │ │ ├── HierarchyList.swift │ │ ├── ShortcutListView.swift │ │ └── sidebarView.swift │ ├── DrawerView.swift │ ├── PrimaryComponent │ │ └── Editor.swift │ ├── PrimaryView.swift │ └── ShadowCover.swift ├── marknoteApp.swift └── settings.swift ├── marknoteTests ├── Info.plist └── marknoteTests.swift ├── marknoteUITests ├── Info.plist └── marknoteUITests.swift └── pics ├── marknote_theme.gif └── marknote演示.gif /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # marknote 2 | An iOS Markdown Editor app based on [Vditor](https://github.com/Vanessa219/vditor), a next generation markdown editor. 3 | 4 | ## Installation 5 | 6 | This app is now under early development, and is not available on App Store. If you want to try it now. you can clone this repository and build it through Xcode. 7 | 8 | TODO: package and App Store 9 | 10 | ## Functions and Usage 11 | 12 | 1. Access any folders available in File App: 13 | 14 | simulator_screenshot_E39089E0-1265-4B71-A199-28E6EBE359CA 15 | 16 | (Picture above is got on an simulator, iCloud works fine on real machine) 17 | 18 | 2. Open a .md file and edit it in WYSIWYG(wysiwyg), Instant Rendering(ir) and Split View(sv): 19 | 20 | ![simulator_screenshot_9DFF8797-1218-4C88-A73F-9B7E78A8FBB9](https://gitee.com/zhong_he_ming/image/raw/master/images/simulator_screenshot_9DFF8797-1218-4C88-A73F-9B7E78A8FBB9.png) 21 | 22 | 3. Manage your docs and folders in the sidebar: 23 | 24 | ![marknote演示](pics/marknote演示.gif) 25 | 26 | 4. Editor theme follows system appearences: 27 | 28 | ![marknote演示](pics/marknote_theme.gif) 29 | 30 | Note: due to simulator performance, the conversion of editor theme above is a little bit laggy (no such problem on real machine) 31 | 32 | ## development 33 | 34 | My own develop Environment: macOS Big Sur 11.2.1, Xcode 12.4 35 | 36 | This project is developed through swiftUI and WKWebView, so as long as your dev Environment supports both of those, then everything should be fine. If you do encounter some problem while building, just raise a issue. -------------------------------------------------------------------------------- /marknote.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /marknote.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /marknote.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /marknote.xcodeproj/project.xcworkspace/xcuserdata/zhongheming.xcuserdatad/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildLocationStyle 6 | UseAppPreferences 7 | CustomBuildLocationType 8 | RelativeToDerivedData 9 | DerivedDataLocationStyle 10 | Default 11 | IssueFilterStyle 12 | ShowActiveSchemeOnly 13 | LiveSourceIssuesEnabled 14 | 15 | ShowSharedSchemesAutomaticallyEnabled 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /marknote.xcodeproj/xcuserdata/zhongheming.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /marknote.xcodeproj/xcuserdata/zhongheming.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | marknote.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | F90EDB3925C6B96C005EDAB7 16 | 17 | primary 18 | 19 | 20 | F90EDB4F25C6B96D005EDAB7 21 | 22 | primary 23 | 24 | 25 | F90EDB5A25C6B96D005EDAB7 26 | 27 | primary 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /marknote/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /marknote/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "scale" : "1x", 46 | "size" : "20x20" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "scale" : "2x", 51 | "size" : "20x20" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "scale" : "1x", 56 | "size" : "29x29" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "scale" : "2x", 61 | "size" : "29x29" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "scale" : "1x", 66 | "size" : "40x40" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "scale" : "2x", 71 | "size" : "40x40" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "scale" : "1x", 76 | "size" : "76x76" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "scale" : "2x", 81 | "size" : "76x76" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "scale" : "2x", 86 | "size" : "83.5x83.5" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "scale" : "1x", 91 | "size" : "1024x1024" 92 | } 93 | ], 94 | "info" : { 95 | "author" : "xcode", 96 | "version" : 1 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /marknote/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Assets.xcassets/toolbaricon.symbolset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | }, 6 | "symbols" : [ 7 | { 8 | "idiom" : "universal" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /marknote/CoreData/marknote.xcdatamodeld/.xccurrentversion: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | _XCCurrentVersionName 6 | marknote.xcdatamodel 7 | 8 | 9 | -------------------------------------------------------------------------------- /marknote/CoreData/marknote.xcdatamodeld/marknote.xcdatamodel/contents: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Info.plist -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/css/content-theme/light.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Vditor - A markdown editor written in TypeScript. 3 | * 4 | * MIT License 5 | * 6 | * Copyright (c) 2018-present B3log 开源, b3log.org 7 | * 8 | * Permission is hereby granted, free of charge, to any person obtaining a copy 9 | * of this software and associated documentation files (the "Software"), to deal 10 | * in the Software without restriction, including without limitation the rights 11 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | * copies of the Software, and to permit persons to whom the Software is 13 | * furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all 16 | * copies or substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 24 | * SOFTWARE. 25 | * 26 | */.vditor-reset h1,.vditor-reset h2{padding-bottom:.3em;border-bottom:1px solid #eaecef}.vditor-reset hr{background-color:#eaecef}.vditor-reset blockquote{color:#6a737d;border-left:.25em solid #eaecef}.vditor-reset iframe{border:1px solid #d1d5da}.vditor-reset table tr{border-top:1px solid #c6cbd1;background-color:#fafbfc}.vditor-reset table td,.vditor-reset table th{border:1px solid #dfe2e5}.vditor-reset table tbody tr:nth-child(2n){background-color:#fff}.vditor-reset code:not(.hljs):not(.highlight-chroma){background-color:rgba(27,31,35,.05)}.vditor-reset kbd{color:#24292e;background-color:#fafbfc;border:1px solid #d1d5da;box-shadow:inset 0 -1px 0 #d1d5da}.vditor-speech{background-color:#f6f8fa;border:1px solid #d1d5da;color:#586069}.vditor-speech--current,.vditor-speech:hover{color:#4285f4}.vditor-linkcard a{background-color:#f6f8fa}.vditor-linkcard a:visited .vditor-linkcard__abstract{color:rgba(88,96,105,.36)}.vditor-linkcard__title{color:#24292e}.vditor-linkcard__abstract{color:#586069}.vditor-linkcard__site{color:#4285f4}.vditor-linkcard__image{background-color:rgba(88,96,105,.36)} -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/b3log.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/b3log.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/chainbook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/chainbook.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/doge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/doge.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/hacpai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/hacpai.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/huaji.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/huaji.gif -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/latke.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/latke.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/lute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/lute.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/octocat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/octocat.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/pipe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/pipe.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/solo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/solo.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/sym.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/sym.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/trollface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/trollface.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/vditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/vditor.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/wide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/wide.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/wulian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/emoji/wulian.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/img-loading.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/images/logo.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import VditorMethod from "./method"; 3 | declare class Vditor extends VditorMethod { 4 | readonly version: string; 5 | vditor: IVditor; 6 | /** 7 | * @param id 要挂载 Vditor 的元素或者元素 ID。 8 | * @param options Vditor 参数 9 | */ 10 | constructor(id: string | HTMLElement, options?: IOptions); 11 | /** 设置主题 */ 12 | setTheme(theme: "dark" | "classic", contentTheme?: string, codeTheme?: string, contentThemePath?: string): void; 13 | /** 获取 Markdown 内容 */ 14 | getValue(): string; 15 | /** 获取编辑器当前编辑模式 */ 16 | getCurrentMode(): "wysiwyg" | "sv" | "ir"; 17 | /** 聚焦到编辑器 */ 18 | focus(): void; 19 | /** 让编辑器失焦 */ 20 | blur(): void; 21 | /** 禁用编辑器 */ 22 | disabled(): void; 23 | /** 解除编辑器禁用 */ 24 | enable(): void; 25 | /** 返回选中的字符串 */ 26 | getSelection(): string; 27 | /** 设置预览区域内容 */ 28 | renderPreview(value?: string): void; 29 | /** 获取焦点位置 */ 30 | getCursorPosition(): { 31 | left: number; 32 | top: number; 33 | }; 34 | /** 上传是否还在进行中 */ 35 | isUploading(): boolean; 36 | /** 清除缓存 */ 37 | clearCache(): void; 38 | /** 禁用缓存 */ 39 | disabledCache(): void; 40 | /** 启用缓存 */ 41 | enableCache(): void; 42 | /** HTML 转 md */ 43 | html2md(value: string): string; 44 | /** 获取 HTML */ 45 | getHTML(): string; 46 | /** 消息提示。time 为 0 将一直显示 */ 47 | tip(text: string, time?: number): void; 48 | /** 设置预览模式 */ 49 | setPreviewMode(mode: "both" | "editor"): void; 50 | /** 删除选中内容 */ 51 | deleteValue(): void; 52 | /** 更新选中内容 */ 53 | updateValue(value: string): void; 54 | /** 在焦点处插入内容,并默认进行 Markdown 渲染 */ 55 | insertValue(value: string, render?: boolean): void; 56 | /** 设置编辑器内容 */ 57 | setValue(markdown: string, clearStack?: boolean): void; 58 | /** 清空 undo & redo 栈 */ 59 | clearStack(): void; 60 | /** 销毁编辑器 */ 61 | destroy(): void; 62 | /** 获取评论 ID */ 63 | getCommentIds(): ICommentsData[]; 64 | /** 高亮评论 */ 65 | hlCommentIds(ids: string[]): void; 66 | /** 取消评论高亮 */ 67 | unHlCommentIds(ids: string[]): void; 68 | /** 删除评论 */ 69 | removeCommentIds(removeIds: string[]): void; 70 | } 71 | export default Vditor; 72 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/highlight.js/styles/algol_nu.css: -------------------------------------------------------------------------------- 1 | .highlight-chroma{background-color:#fff}.highlight-chroma .highlight-lntd{vertical-align:top;padding:0;margin:0;border:0}.highlight-chroma .highlight-lntable{border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block}.highlight-chroma .highlight-hl{display:block;width:100%;background-color:#e5e5e5}.highlight-chroma .highlight-ln,.highlight-chroma .highlight-lnt{margin-right:.4em;padding:0 .4em;color:#7f7f7f}.highlight-chroma .highlight-k,.highlight-chroma .highlight-kc{font-weight:700}.highlight-chroma .highlight-kd{font-weight:700;font-style:italic}.highlight-chroma .highlight-kn,.highlight-chroma .highlight-kp,.highlight-chroma .highlight-kr,.highlight-chroma .highlight-kt{font-weight:700}.highlight-chroma .highlight-bp,.highlight-chroma .highlight-nb{font-weight:700;font-style:italic}.highlight-chroma .highlight-nc,.highlight-chroma .highlight-nf,.highlight-chroma .highlight-nn,.highlight-chroma .highlight-no,.highlight-chroma .highlight-nv{color:#666;font-weight:700;font-style:italic}.highlight-chroma .highlight-dl,.highlight-chroma .highlight-s,.highlight-chroma .highlight-s1,.highlight-chroma .highlight-s2,.highlight-chroma .highlight-sa,.highlight-chroma .highlight-sb,.highlight-chroma .highlight-sc,.highlight-chroma .highlight-sd,.highlight-chroma .highlight-se,.highlight-chroma .highlight-sh,.highlight-chroma .highlight-si,.highlight-chroma .highlight-sr,.highlight-chroma .highlight-ss,.highlight-chroma .highlight-sx{color:#666;font-style:italic}.highlight-chroma .highlight-ow{font-weight:700}.highlight-chroma .highlight-c,.highlight-chroma .highlight-c1,.highlight-chroma .highlight-ch,.highlight-chroma .highlight-cm{color:#888;font-style:italic}.highlight-chroma .highlight-cp,.highlight-chroma .highlight-cpf,.highlight-chroma .highlight-cs{color:#888;font-weight:700}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fff;color:#000}.hljs-addition,.hljs-attribute,.hljs-bullet,.hljs-link,.hljs-section,.hljs-string,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#888}.hljs-comment,.hljs-deletion,.hljs-meta,.hljs-quote{color:#ccc}.hljs-keyword,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-strong,.hljs-type{font-weight:700}.hljs-emphasis{font-style:italic} -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/highlight.js/styles/igor.css: -------------------------------------------------------------------------------- 1 | .highlight-chroma{background-color:#fff}.highlight-chroma .highlight-lntd{vertical-align:top;padding:0;margin:0;border:0}.highlight-chroma .highlight-lntable{border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block}.highlight-chroma .highlight-hl{display:block;width:100%;background-color:#e5e5e5}.highlight-chroma .highlight-ln,.highlight-chroma .highlight-lnt{margin-right:.4em;padding:0 .4em;color:#7f7f7f}.highlight-chroma .highlight-k,.highlight-chroma .highlight-kc,.highlight-chroma .highlight-kd,.highlight-chroma .highlight-kn,.highlight-chroma .highlight-kp,.highlight-chroma .highlight-kr,.highlight-chroma .highlight-kt{color:#00f}.highlight-chroma .highlight-nc{color:#007575}.highlight-chroma .highlight-nd{color:#cc00a3}.highlight-chroma .highlight-nf{color:#c34e00}.highlight-chroma .highlight-dl,.highlight-chroma .highlight-s,.highlight-chroma .highlight-s1,.highlight-chroma .highlight-s2,.highlight-chroma .highlight-sa,.highlight-chroma .highlight-sb,.highlight-chroma .highlight-sc,.highlight-chroma .highlight-sd,.highlight-chroma .highlight-se,.highlight-chroma .highlight-sh,.highlight-chroma .highlight-si,.highlight-chroma .highlight-sr,.highlight-chroma .highlight-ss,.highlight-chroma .highlight-sx{color:#009c00}.highlight-chroma .highlight-c,.highlight-chroma .highlight-c1,.highlight-chroma .highlight-ch,.highlight-chroma .highlight-cm,.highlight-chroma .highlight-cp,.highlight-chroma .highlight-cpf,.highlight-chroma .highlight-cs{color:red;font-style:italic}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fff}.hljs,.hljs-emphasis,.hljs-strong,.hljs-subst,.hljs-tag,.hljs-title{color:#000}.hljs-bullet,.hljs-literal,.hljs-number,.hljs-quote,.hljs-regexp{color:navy}.hljs-code .hljs-selector-class{color:purple}.hljs-emphasis,.hljs-stronge,.hljs-type{font-style:italic}.hljs-function,.hljs-keyword,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-symbol{color:olive}.hljs-attribute{color:maroon}.hljs-class .hljs-title,.hljs-params,.hljs-variable{color:#0055af}.hljs-addition,.hljs-built_in,.hljs-builtin-name,.hljs-comment,.hljs-deletion,.hljs-link,.hljs-meta,.hljs-selector-attr,.hljs-selector-id,.hljs-selector-pseudo,.hljs-string,.hljs-template-tag,.hljs-template-variable,.hljs-type{color:green} -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/highlight.js/styles/vs.css: -------------------------------------------------------------------------------- 1 | .highlight-chroma{background-color:#fff}.highlight-chroma .highlight-lntd{vertical-align:top;padding:0;margin:0;border:0}.highlight-chroma .highlight-lntable{border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block}.highlight-chroma .highlight-hl{display:block;width:100%;background-color:#e5e5e5}.highlight-chroma .highlight-ln,.highlight-chroma .highlight-lnt{margin-right:.4em;padding:0 .4em;color:#7f7f7f}.highlight-chroma .highlight-k,.highlight-chroma .highlight-kc,.highlight-chroma .highlight-kd,.highlight-chroma .highlight-kn,.highlight-chroma .highlight-kp,.highlight-chroma .highlight-kr{color:#00f}.highlight-chroma .highlight-kt,.highlight-chroma .highlight-nc{color:#2b91af}.highlight-chroma .highlight-dl,.highlight-chroma .highlight-s,.highlight-chroma .highlight-s1,.highlight-chroma .highlight-s2,.highlight-chroma .highlight-sa,.highlight-chroma .highlight-sb,.highlight-chroma .highlight-sc,.highlight-chroma .highlight-sd,.highlight-chroma .highlight-se,.highlight-chroma .highlight-sh,.highlight-chroma .highlight-si,.highlight-chroma .highlight-sr,.highlight-chroma .highlight-ss,.highlight-chroma .highlight-sx{color:#a31515}.highlight-chroma .highlight-ow{color:#00f}.highlight-chroma .highlight-c,.highlight-chroma .highlight-c1,.highlight-chroma .highlight-ch,.highlight-chroma .highlight-cm,.highlight-chroma .highlight-cs{color:green}.highlight-chroma .highlight-cp,.highlight-chroma .highlight-cpf{color:#00f}.highlight-chroma .highlight-ge{font-style:italic}.highlight-chroma .highlight-gh,.highlight-chroma .highlight-gp,.highlight-chroma .highlight-gs,.highlight-chroma .highlight-gu{font-weight:700}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fff;color:#000}.hljs-comment,.hljs-quote,.hljs-variable{color:green}.hljs-built_in,.hljs-keyword,.hljs-name,.hljs-selector-tag,.hljs-tag{color:#00f}.hljs-addition,.hljs-attribute,.hljs-literal,.hljs-section,.hljs-string,.hljs-template-tag,.hljs-template-variable,.hljs-title,.hljs-type{color:#a31515}.hljs-deletion,.hljs-meta,.hljs-selector-attr,.hljs-selector-pseudo{color:#2b91af}.hljs-doctag{color:grey}.hljs-attr{color:red}.hljs-bullet,.hljs-link,.hljs-symbol{color:#00b0e8}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700} -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_AMS-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_AMS-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_AMS-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_AMS-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_AMS-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_AMS-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Caligraphic-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Caligraphic-Bold.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Caligraphic-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Caligraphic-Bold.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Caligraphic-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Caligraphic-Bold.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Caligraphic-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Caligraphic-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Caligraphic-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Caligraphic-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Caligraphic-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Caligraphic-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Fraktur-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Fraktur-Bold.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Fraktur-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Fraktur-Bold.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Fraktur-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Fraktur-Bold.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Fraktur-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Fraktur-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Fraktur-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Fraktur-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Fraktur-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Fraktur-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Bold.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Bold.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Bold.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-BoldItalic.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-BoldItalic.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-BoldItalic.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Italic.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Italic.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Italic.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Main-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Math-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Math-BoldItalic.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Math-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Math-BoldItalic.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Math-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Math-BoldItalic.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Math-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Math-Italic.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Math-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Math-Italic.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Math-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Math-Italic.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Bold.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Bold.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Bold.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Italic.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Italic.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Italic.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_SansSerif-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Script-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Script-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Script-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Script-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Script-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Script-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size1-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size1-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size1-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size1-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size1-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size1-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size2-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size2-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size2-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size2-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size2-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size2-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size3-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size3-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size3-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size3-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size3-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size3-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size4-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size4-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size4-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size4-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size4-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Size4-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Typewriter-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Typewriter-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Typewriter-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Typewriter-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Typewriter-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/katex/fonts/KaTeX_Typewriter-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/mathjax/input/tex/extensions/noerrors.js: -------------------------------------------------------------------------------- 1 | !function(n){var o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=n,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=3)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=MathJax._.components.global.isObject,t.combineConfig=MathJax._.components.global.combineConfig,t.combineDefaults=MathJax._.components.global.combineDefaults,t.combineWithMathJax=MathJax._.components.global.combineWithMathJax,t.MathJax=MathJax._.components.global.MathJax},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2);t.NoErrorsConfiguration=o.Configuration.create("noerrors",{nodes:{error:function(e,t,n,o){var r=e.create("token","mtext",{},o.replace(/\n/g," "));return e.create("node","merror",[r],{"data-mjx-error":t})}}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=MathJax._.input.tex.Configuration.Configuration,t.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler},function(e,t,n){"use strict";n.r(t);var o=n(0),r=n(1);Object(o.combineWithMathJax)({_:{input:{tex:{noerrors:{NoErrorsConfiguration:r}}}}})}]); -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/js/mathjax/input/tex/extensions/noundefined.js: -------------------------------------------------------------------------------- 1 | !function(n){var o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=n,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=3)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=MathJax._.components.global.isObject,t.combineConfig=MathJax._.components.global.combineConfig,t.combineDefaults=MathJax._.components.global.combineDefaults,t.combineWithMathJax=MathJax._.components.global.combineWithMathJax,t.MathJax=MathJax._.components.global.MathJax},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2);t.NoUndefinedConfiguration=o.Configuration.create("noundefined",{fallback:{macro:function(e,t){var n=e.create("text","\\"+t);e.Push(e.create("node","mtext",[],{mathcolor:"red"},n))}}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=MathJax._.input.tex.Configuration.Configuration,t.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler},function(e,t,n){"use strict";n.r(t);var o=n(0),r=n(1);Object(o.combineWithMathJax)({_:{input:{tex:{noundefined:{NoUndefinedConfiguration:r}}}}})}]); -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/method.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare class Vditor { 3 | /** 点击图片放大 */ 4 | static previewImage: (oldImgElement: HTMLImageElement, lang?: "en_US" | "ja_JP" | "ko_KR" | "zh_CN", theme?: string) => void; 5 | /** 为 element 中的代码块添加复制按钮 */ 6 | static codeRender: (element: HTMLElement, lang?: "en_US" | "ja_JP" | "ko_KR" | "zh_CN") => void; 7 | /** 对 graphviz 进行渲染 */ 8 | static graphvizRender: (element: HTMLElement, cdn?: string) => void; 9 | /** 为 element 中的代码块进行高亮渲染 */ 10 | static highlightRender: (hljsOption?: IHljs, element?: HTMLElement | Document, cdn?: string) => void; 11 | /** 对数学公式进行渲染 */ 12 | static mathRender: (element: HTMLElement, options?: { 13 | cdn?: string; 14 | math?: IMath; 15 | }) => void; 16 | /** 流程图/时序图/甘特图渲染 */ 17 | static mermaidRender: (element: HTMLElement, cdn: string, theme: string) => void; 18 | /** flowchart.js 渲染 */ 19 | static flowchartRender: (element: HTMLElement, cdn?: string) => void; 20 | /** 图表渲染 */ 21 | static chartRender: (element: HTMLElement | Document, cdn: string, theme: string) => void; 22 | /** 五线谱渲染 */ 23 | static abcRender: (element?: HTMLElement | Document, cdn?: string) => void; 24 | /** 脑图渲染 */ 25 | static mindmapRender: (element: HTMLElement | Document, cdn: string, theme: string) => void; 26 | /** plantuml渲染 */ 27 | static plantumlRender: (element?: HTMLElement | Document, cdn?: string) => void; 28 | /** 大纲渲染 */ 29 | static outlineRender: (contentElement: HTMLElement, targetElement: Element, vditor?: IVditor) => string; 30 | /** 为[特定链接](https://github.com/Vanessa219/vditor/issues/7)分别渲染为视频、音频、嵌入的 iframe */ 31 | static mediaRender: (element: HTMLElement) => void; 32 | /** 对选中的文字进行阅读 */ 33 | static speechRender: (element: HTMLElement, lang?: "en_US" | "ja_JP" | "ko_KR" | "zh_CN") => void; 34 | /** 对图片进行懒加载 */ 35 | static lazyLoadImageRender: (element?: HTMLElement | Document) => boolean; 36 | /** Markdown 文本转换为 HTML,该方法需使用[异步编程](https://ld246.com/article/1546828434083?r=Vaness) */ 37 | static md2html: (mdText: string, options?: IPreviewOptions) => Promise; 38 | /** 页面 Markdown 文章渲染 */ 39 | static preview: (previewElement: HTMLDivElement, markdown: string, options?: IPreviewOptions) => Promise; 40 | /** 设置代码主题 */ 41 | static setCodeTheme: (codeTheme: string, cdn?: string) => void; 42 | /** 设置内容主题 */ 43 | static setContentTheme: (contentTheme: string, path: string) => void; 44 | } 45 | export default Vditor; 46 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/constants.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare const _VDITOR_VERSION: string; 3 | export { _VDITOR_VERSION as VDITOR_VERSION }; 4 | export declare abstract class Constants { 5 | static readonly ZWSP: string; 6 | static readonly DROP_EDITOR: string; 7 | static readonly MOBILE_WIDTH: number; 8 | static readonly CLASS_MENU_DISABLED: string; 9 | static readonly EDIT_TOOLBARS: string[]; 10 | static readonly CODE_THEME: string[]; 11 | static readonly CODE_LANGUAGES: string[]; 12 | static readonly CDN: string; 13 | static readonly MARKDOWN_OPTIONS: { 14 | autoSpace: boolean; 15 | codeBlockPreview: boolean; 16 | fixTermTypo: boolean; 17 | footnotes: boolean; 18 | linkBase: string; 19 | linkPrefix: string; 20 | listStyle: boolean; 21 | mark: boolean; 22 | mathBlockPreview: boolean; 23 | paragraphBeginningSpace: boolean; 24 | sanitize: boolean; 25 | toc: boolean; 26 | }; 27 | static readonly HLJS_OPTIONS: { 28 | enable: boolean; 29 | lineNumber: boolean; 30 | style: string; 31 | }; 32 | static readonly MATH_OPTIONS: IMath; 33 | static readonly THEME_OPTIONS: { 34 | current: string; 35 | list: { 36 | "ant-design": string; 37 | dark: string; 38 | light: string; 39 | wechat: string; 40 | }; 41 | path: string; 42 | }; 43 | } 44 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/devtools/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class DevTools { 3 | element: HTMLDivElement; 4 | private ASTChart; 5 | constructor(); 6 | renderEchart(vditor: IVditor): void; 7 | } 8 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/export/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const download: (vditor: IVditor, content: string, filename: string) => void; 3 | export declare const exportMarkdown: (vditor: IVditor) => void; 4 | export declare const exportPDF: (vditor: IVditor) => void; 5 | export declare const exportHTML: (vditor: IVditor) => void; 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/hint/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class Hint { 3 | timeId: number; 4 | element: HTMLDivElement; 5 | recentLanguage: string; 6 | private splitChar; 7 | private lastIndex; 8 | constructor(hintExtends: IHintExtend[]); 9 | render(vditor: IVditor): void; 10 | genHTML(data: IHintData[], key: string, vditor: IVditor): void; 11 | fillEmoji: (element: HTMLElement, vditor: IVditor) => void; 12 | select(event: KeyboardEvent, vditor: IVditor): boolean; 13 | private getKey; 14 | } 15 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/i18n/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const i18n: II18n; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/ir/expandMarker.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const expandMarker: (range: Range, vditor: IVditor) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/ir/highlightToolbarIR.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const highlightToolbarIR: (vditor: IVditor) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/ir/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare class IR { 3 | element: HTMLPreElement; 4 | processTimeoutId: number; 5 | hlToolbarTimeoutId: number; 6 | composingLock: boolean; 7 | preventInput: boolean; 8 | constructor(vditor: IVditor); 9 | private copy; 10 | private bindEvent; 11 | } 12 | export { IR }; 13 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/ir/input.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const input: (vditor: IVditor, range: Range, ignoreSpace?: boolean, event?: InputEvent) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/ir/process.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const processHint: (vditor: IVditor) => void; 3 | export declare const processAfterRender: (vditor: IVditor, options?: { 4 | enableAddUndoStack: boolean; 5 | enableHint: boolean; 6 | enableInput: boolean; 7 | }) => void; 8 | export declare const processHeading: (vditor: IVditor, value: string) => void; 9 | export declare const processToolbar: (vditor: IVditor, actionBtn: Element, prefix: string, suffix: string) => void; 10 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/ir/processKeydown.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const processKeydown: (vditor: IVditor, event: KeyboardEvent) => boolean; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/abcRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const abcRender: (element?: (HTMLElement | Document), cdn?: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/anchorRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const anchorRender: (type: number) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/chartRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const chartRender: (element: (HTMLElement | Document), cdn: string, theme: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/codeRender.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const codeRender: (element: HTMLElement, lang?: keyof II18n) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/flowchartRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const flowchartRender: (element: HTMLElement, cdn?: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/getHTML.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const getHTML: (vditor: IVditor) => string; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/getMarkdown.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const getMarkdown: (vditor: IVditor) => string; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/graphvizRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const graphvizRender: (element: HTMLElement, cdn?: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/highlightRender.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const highlightRender: (hljsOption?: IHljs, element?: HTMLElement | Document, cdn?: string) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/lazyLoadImageRender.d.ts: -------------------------------------------------------------------------------- 1 | declare global { 2 | interface Window { 3 | vditorImageIntersectionObserver: IntersectionObserver; 4 | } 5 | } 6 | export declare const lazyLoadImageRender: (element?: (HTMLElement | Document)) => boolean; 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/mathRender.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare global { 3 | interface Window { 4 | MathJax: any; 5 | } 6 | } 7 | export declare const mathRender: (element: HTMLElement, options?: { 8 | cdn?: string; 9 | math?: IMath; 10 | }) => void; 11 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/mediaRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const mediaRender: (element: HTMLElement) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/mermaidRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const mermaidRender: (element: HTMLElement, cdn: string, theme: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/mindmapRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const mindmapRender: (element: (HTMLElement | Document), cdn: string, theme: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/outlineRender.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const outlineRender: (contentElement: HTMLElement, targetElement: Element, vditor?: IVditor) => string; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/plantumlRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const plantumlRender: (element?: (HTMLElement | Document), cdn?: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/previewRender.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const md2html: (mdText: string, options?: IPreviewOptions) => Promise; 3 | export declare const previewRender: (previewElement: HTMLDivElement, markdown: string, options?: IPreviewOptions) => Promise; 4 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/setLute.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const setLute: (options: ILuteOptions) => Lute; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/markdown/speechRender.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare global { 3 | interface Window { 4 | vditorSpeechRange: Range; 5 | } 6 | } 7 | export declare const speechRender: (element: HTMLElement, lang?: keyof II18n) => void; 8 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/outline/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class Outline { 3 | element: HTMLElement; 4 | constructor(outlineLabel: string); 5 | render(vditor: IVditor): string; 6 | toggle(vditor: IVditor, show?: boolean): void; 7 | } 8 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/preview/image.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const previewImage: (oldImgElement: HTMLImageElement, lang?: keyof II18n, theme?: string) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/preview/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class Preview { 3 | element: HTMLElement; 4 | private mdTimeoutId; 5 | constructor(vditor: IVditor); 6 | render(vditor: IVditor, value?: string): void; 7 | private afterRender; 8 | private copyToX; 9 | } 10 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/resize/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class Resize { 3 | element: HTMLElement; 4 | constructor(vditor: IVditor); 5 | private bindEvent; 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/sv/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare class Editor { 3 | element: HTMLPreElement; 4 | composingLock: boolean; 5 | processTimeoutId: number; 6 | hlToolbarTimeoutId: number; 7 | preventInput: boolean; 8 | constructor(vditor: IVditor); 9 | private copy; 10 | private bindEvent; 11 | } 12 | export { Editor }; 13 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/sv/inputEvent.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const inputEvent: (vditor: IVditor, event?: InputEvent) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/sv/process.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const processPaste: (vditor: IVditor, text: string) => void; 3 | export declare const getSideByType: (spanNode: Node, type: string, isPrevious?: boolean) => false | Element; 4 | export declare const processSpinVditorSVDOM: (html: string, vditor: IVditor) => string; 5 | export declare const processPreviousMarkers: (spanElement: HTMLElement) => string; 6 | export declare const processAfterRender: (vditor: IVditor, options?: { 7 | enableAddUndoStack: boolean; 8 | enableHint: boolean; 9 | enableInput: boolean; 10 | }) => void; 11 | export declare const processHeading: (vditor: IVditor, value: string) => void; 12 | export declare const processToolbar: (vditor: IVditor, actionBtn: Element, prefix: string, suffix: string) => void; 13 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/sv/processKeydown.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const processKeydown: (vditor: IVditor, event: KeyboardEvent) => boolean; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/tip/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare class Tip { 2 | element: HTMLElement; 3 | constructor(); 4 | show(text: string, time?: number): void; 5 | hide(): void; 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Both.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Both extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Br.d.ts: -------------------------------------------------------------------------------- 1 | export declare class Br { 2 | element: HTMLElement; 3 | constructor(); 4 | } 5 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/CodeTheme.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class CodeTheme extends MenuItem { 4 | element: HTMLElement; 5 | constructor(vditor: IVditor, menuItem: IMenuItem); 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/ContentTheme.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class ContentTheme extends MenuItem { 4 | element: HTMLElement; 5 | constructor(vditor: IVditor, menuItem: IMenuItem); 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Counter.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class Counter { 3 | element: HTMLElement; 4 | constructor(vditor: IVditor); 5 | render(vditor: IVditor, mdText: string): void; 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Custom.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Custom extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Devtools.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Devtools extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Divider.d.ts: -------------------------------------------------------------------------------- 1 | export declare class Divider { 2 | element: HTMLElement; 3 | constructor(); 4 | } 5 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/EditMode.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare const setEditMode: (vditor: IVditor, type: string, event: Event | string) => void; 4 | export declare class EditMode extends MenuItem { 5 | element: HTMLElement; 6 | constructor(vditor: IVditor, menuItem: IMenuItem); 7 | _bindEvent(vditor: IVditor, panelElement: HTMLElement, menuItem: IMenuItem): void; 8 | } 9 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Emoji.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Emoji extends MenuItem { 4 | element: HTMLElement; 5 | constructor(vditor: IVditor, menuItem: IMenuItem); 6 | _bindEvent(vditor: IVditor, panelElement: HTMLElement): void; 7 | } 8 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Export.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Export extends MenuItem { 4 | element: HTMLElement; 5 | constructor(vditor: IVditor, menuItem: IMenuItem); 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Fullscreen.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Fullscreen extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | _bindEvent(vditor: IVditor, menuItem: IMenuItem): void; 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Headings.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Headings extends MenuItem { 4 | element: HTMLElement; 5 | constructor(vditor: IVditor, menuItem: IMenuItem); 6 | _bindEvent(vditor: IVditor, panelElement: HTMLElement): void; 7 | } 8 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Help.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Help extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Indent.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Indent extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Info.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Info extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/InsertAfter.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class InsertAfter extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/InsertBefore.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class InsertBefore extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/MenuItem.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class MenuItem { 3 | element: HTMLElement; 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Outdent.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Outdent extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Outline.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Outline extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Preview.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Preview extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | _bindEvent(vditor: IVditor): void; 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Record.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Record extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | _bindEvent(vditor: IVditor): void; 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Redo.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Redo extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Undo.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Undo extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/Upload.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Upload extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | _bindEvent(vditor: IVditor): void; 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class Toolbar { 3 | elements: { 4 | [key: string]: HTMLElement; 5 | }; 6 | element: HTMLElement; 7 | constructor(vditor: IVditor); 8 | private genItem; 9 | } 10 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/toolbar/setToolbar.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const removeCurrentToolbar: (toolbar: { 3 | [key: string]: HTMLElement; 4 | }, names: string[]) => void; 5 | export declare const setCurrentToolbar: (toolbar: { 6 | [key: string]: HTMLElement; 7 | }, names: string[]) => void; 8 | export declare const enableToolbar: (toolbar: { 9 | [key: string]: HTMLElement; 10 | }, names: string[]) => void; 11 | export declare const disableToolbar: (toolbar: { 12 | [key: string]: HTMLElement; 13 | }, names: string[]) => void; 14 | export declare const hideToolbar: (toolbar: { 15 | [key: string]: HTMLElement; 16 | }, names: string[]) => void; 17 | export declare const showToolbar: (toolbar: { 18 | [key: string]: HTMLElement; 19 | }, names: string[]) => void; 20 | export declare const hidePanel: (vditor: IVditor, panels: string[], exceptElement?: HTMLElement) => void; 21 | export declare const toggleSubMenu: (vditor: IVditor, panelElement: HTMLElement, actionBtn: Element, level: number) => void; 22 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/ui/initUI.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare global { 3 | interface Window { 4 | visualViewport: HTMLElement; 5 | } 6 | } 7 | export declare const initUI: (vditor: IVditor) => void; 8 | export declare const setPadding: (vditor: IVditor) => void; 9 | export declare const setTypewriterPosition: (vditor: IVditor) => void; 10 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/ui/setCodeTheme.d.ts: -------------------------------------------------------------------------------- 1 | export declare const setCodeTheme: (codeTheme: string, cdn?: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/ui/setContentTheme.d.ts: -------------------------------------------------------------------------------- 1 | export declare const setContentTheme: (contentTheme: string, path: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/ui/setPreviewMode.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const setPreviewMode: (mode: "both" | "editor", vditor: IVditor) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/ui/setTheme.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const setTheme: (vditor: IVditor) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/undo/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare class Undo { 3 | private stackSize; 4 | private dmp; 5 | private wysiwyg; 6 | private ir; 7 | private sv; 8 | constructor(); 9 | clearStack(vditor: IVditor): void; 10 | resetIcon(vditor: IVditor): void; 11 | undo(vditor: IVditor): void; 12 | redo(vditor: IVditor): void; 13 | recordFirstPosition(vditor: IVditor, event: KeyboardEvent): void; 14 | addToUndoStack(vditor: IVditor): void; 15 | private renderDiff; 16 | private resetStack; 17 | private addCaret; 18 | } 19 | export { Undo }; 20 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/upload/getElement.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const getElement: (vditor: IVditor) => HTMLPreElement; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/upload/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare class Upload { 3 | element: HTMLElement; 4 | isUploading: boolean; 5 | range: Range; 6 | constructor(); 7 | } 8 | declare const uploadFiles: (vditor: IVditor, files: FileList | DataTransferItemList | File[], element?: HTMLInputElement) => Promise; 9 | export { Upload, uploadFiles }; 10 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/upload/setHeaders.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const setHeaders: (vditor: IVditor, xhr: XMLHttpRequest) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/Options.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class Options { 3 | options: IOptions; 4 | private defaultOptions; 5 | constructor(options: IOptions); 6 | merge(): IOptions; 7 | private mergeToolbar; 8 | } 9 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/RecordMedia.d.ts: -------------------------------------------------------------------------------- 1 | export declare class RecordMedia { 2 | SAMPLE_RATE: number; 3 | DEFAULT_SAMPLE_RATE: number; 4 | isRecording: boolean; 5 | readyFlag: boolean; 6 | leftChannel: Float32List[]; 7 | rightChannel: Float32List[]; 8 | recordingLength: number; 9 | recorder: ScriptProcessorNode; 10 | constructor(e: MediaStream); 11 | cloneChannelData(leftChannelData: Float32List, rightChannelData: Float32List): void; 12 | startRecordingNewWavFile(): void; 13 | stopRecording(): void; 14 | buildWavFileBlob(): Blob; 15 | private downSampleBuffer; 16 | private mergeBuffers; 17 | private writeUTFBytes; 18 | } 19 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/addScript.d.ts: -------------------------------------------------------------------------------- 1 | export declare const addScriptSync: (path: string, id: string) => boolean; 2 | export declare const addScript: (path: string, id: string) => Promise; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/addStyle.d.ts: -------------------------------------------------------------------------------- 1 | export declare const addStyle: (url: string, id: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/code160to32.d.ts: -------------------------------------------------------------------------------- 1 | export declare const code160to32: (text: string) => string; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/compatibility.d.ts: -------------------------------------------------------------------------------- 1 | export declare const isSafari: () => boolean; 2 | export declare const isFirefox: () => boolean; 3 | export declare const accessLocalStorage: () => boolean; 4 | export declare const getEventName: () => "click" | "touchstart"; 5 | export declare const isCtrl: (event: KeyboardEvent) => boolean; 6 | export declare const updateHotkeyTip: (hotkey: string) => string; 7 | export declare const isChrome: () => boolean; 8 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/editorCommonEvent.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const focusEvent: (vditor: IVditor, editorElement: HTMLElement) => void; 3 | export declare const dblclickEvent: (vditor: IVditor, editorElement: HTMLElement) => void; 4 | export declare const blurEvent: (vditor: IVditor, editorElement: HTMLElement) => void; 5 | export declare const dropEvent: (vditor: IVditor, editorElement: HTMLElement) => void; 6 | export declare const copyEvent: (vditor: IVditor, editorElement: HTMLElement, copy: (event: ClipboardEvent, vditor: IVditor) => void) => void; 7 | export declare const cutEvent: (vditor: IVditor, editorElement: HTMLElement, copy: (event: ClipboardEvent, vditor: IVditor) => void) => void; 8 | export declare const scrollCenter: (vditor: IVditor) => void; 9 | export declare const hotkeyEvent: (vditor: IVditor, editorElement: HTMLElement) => void; 10 | export declare const selectEvent: (vditor: IVditor, editorElement: HTMLElement) => void; 11 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/getSelectText.d.ts: -------------------------------------------------------------------------------- 1 | export declare const getSelectText: (editor: HTMLElement, range?: Range) => string; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/hasClosest.d.ts: -------------------------------------------------------------------------------- 1 | export declare const hasTopClosestByClassName: (element: Node, className: string) => false | HTMLElement; 2 | export declare const hasTopClosestByAttribute: (element: Node, attr: string, value: string) => false | HTMLElement; 3 | export declare const hasTopClosestByTag: (element: Node, nodeName: string) => false | HTMLElement; 4 | export declare const getTopList: (element: Node) => false | HTMLElement; 5 | export declare const hasClosestByAttribute: (element: Node, attr: string, value: string) => false | HTMLElement; 6 | export declare const hasClosestBlock: (element: Node) => false | HTMLElement; 7 | export declare const hasClosestByMatchTag: (element: Node, nodeName: string) => false | HTMLElement; 8 | export declare const hasClosestByClassName: (element: Node, className: string) => false | HTMLElement; 9 | export declare const getLastNode: (node: Node) => Node; 10 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/hasClosestByHeadings.d.ts: -------------------------------------------------------------------------------- 1 | export declare const hasClosestByTag: (element: Node, nodeName: string) => false | HTMLElement; 2 | export declare const hasClosestByHeadings: (element: Node) => false | HTMLElement; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/highlightToolbar.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const highlightToolbar: (vditor: IVditor) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/hotKey.d.ts: -------------------------------------------------------------------------------- 1 | export declare const matchHotKey: (hotKey: string, event: KeyboardEvent) => boolean; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/log.d.ts: -------------------------------------------------------------------------------- 1 | export declare const log: (method: string, content: string, type: string, print: boolean) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/merge.d.ts: -------------------------------------------------------------------------------- 1 | export declare const merge: (...options: any[]) => any; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/processCode.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const processPasteCode: (html: string, text: string, type?: string) => string | false; 3 | export declare const processCodeRender: (previewPanel: HTMLElement, vditor: IVditor) => void; 4 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/selection.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const getEditorRange: (element: HTMLElement) => Range; 3 | export declare const getCursorPosition: (editor: HTMLElement) => { 4 | left: number; 5 | top: number; 6 | }; 7 | export declare const selectIsEditor: (editor: HTMLElement, range?: Range) => boolean; 8 | export declare const setSelectionFocus: (range: Range) => void; 9 | export declare const getSelectPosition: (selectElement: HTMLElement, editorElement: HTMLElement, range?: Range) => { 10 | end: number; 11 | start: number; 12 | }; 13 | export declare const setSelectionByPosition: (start: number, end: number, editor: HTMLElement) => Range; 14 | export declare const setRangeByWbr: (element: HTMLElement, range: Range) => void; 15 | export declare const insertHTML: (html: string, vditor: IVditor) => void; 16 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/util/toc.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const renderToc: (vditor: IVditor) => void; 3 | export declare const clickToc: (event: MouseEvent & { 4 | target: HTMLElement; 5 | }, vditor: IVditor) => void; 6 | export declare const keydownToc: (blockElement: HTMLElement, vditor: IVditor, event: KeyboardEvent, range: Range) => boolean; 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/wysiwyg/afterRenderEvent.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const afterRenderEvent: (vditor: IVditor, options?: { 3 | enableAddUndoStack: boolean; 4 | enableHint: boolean; 5 | enableInput: boolean; 6 | }) => void; 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/wysiwyg/highlightToolbarWYSIWYG.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const highlightToolbarWYSIWYG: (vditor: IVditor) => void; 3 | export declare const genLinkRefPopover: (vditor: IVditor, linkRefElement: HTMLElement) => void; 4 | export declare const genAPopover: (vditor: IVditor, aElement: HTMLElement) => void; 5 | export declare const genImagePopover: (event: Event, vditor: IVditor) => void; 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/wysiwyg/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare class WYSIWYG { 3 | element: HTMLPreElement; 4 | popover: HTMLDivElement; 5 | selectPopover: HTMLDivElement; 6 | afterRenderTimeoutId: number; 7 | hlToolbarTimeoutId: number; 8 | preventInput: boolean; 9 | composingLock: boolean; 10 | commentIds: string[]; 11 | constructor(vditor: IVditor); 12 | getComments(vditor: IVditor, getData?: boolean): ICommentsData[]; 13 | triggerRemoveComment(vditor: IVditor): void; 14 | showComment(): void; 15 | hideComment(): void; 16 | private copy; 17 | private bindEvent; 18 | } 19 | export { WYSIWYG }; 20 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/wysiwyg/inlineTag.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const previoueIsEmptyA: (node: Node) => false | HTMLElement; 3 | export declare const nextIsCode: (range: Range) => boolean; 4 | export declare const getNextHTML: (node: Node) => string; 5 | export declare const getPreviousHTML: (node: Node) => string; 6 | export declare const getRenderElementNextNode: (blockCodeElement: HTMLElement) => ChildNode; 7 | export declare const splitElement: (range: Range) => { 8 | afterHTML: string; 9 | beforeHTML: string; 10 | }; 11 | export declare const modifyPre: (vditor: IVditor, range: Range) => void; 12 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/wysiwyg/input.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const input: (vditor: IVditor, range: Range, event?: InputEvent) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/wysiwyg/processKeydown.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const processKeydown: (vditor: IVditor, event: KeyboardEvent) => boolean; 3 | export declare const removeBlockElement: (vditor: IVditor, event: KeyboardEvent) => boolean; 4 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/wysiwyg/renderDomByMd.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const renderDomByMd: (vditor: IVditor, md: string, options?: { 3 | enableAddUndoStack: boolean; 4 | enableHint: boolean; 5 | enableInput: boolean; 6 | }) => void; 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/wysiwyg/setHeading.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const setHeading: (vditor: IVditor, tagName: string) => void; 3 | export declare const removeHeading: (vditor: IVditor) => void; 4 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/wysiwyg/showCode.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const showCode: (previewElement: HTMLElement, vditor: IVditor, first?: boolean) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist-ver3.8/ts/wysiwyg/toolbarEvent.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const toolbarEvent: (vditor: IVditor, actionBtn: Element, event: Event) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/b3log.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/b3log.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/chainbook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/chainbook.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/doge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/doge.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/hacpai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/hacpai.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/huaji.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/huaji.gif -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/latke.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/latke.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/lute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/lute.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/octocat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/octocat.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/pipe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/pipe.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/solo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/solo.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/sym.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/sym.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/trollface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/trollface.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/vditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/vditor.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/wide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/wide.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/wulian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/emoji/wulian.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/img-loading.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/images/logo.png -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import "./assets/scss/index.scss"; 3 | import VditorMethod from "./method"; 4 | declare class Vditor extends VditorMethod { 5 | readonly version: string; 6 | vditor: IVditor; 7 | /** 8 | * @param id 要挂载 Vditor 的元素或者元素 ID。 9 | * @param options Vditor 参数 10 | */ 11 | constructor(id: string | HTMLElement, options?: IOptions); 12 | /** 设置主题 */ 13 | setTheme(theme: "dark" | "classic", contentTheme?: string, codeTheme?: string, contentThemePath?: string): void; 14 | /** 获取 Markdown 内容 */ 15 | getValue(): string; 16 | /** 获取编辑器当前编辑模式 */ 17 | getCurrentMode(): "sv" | "wysiwyg" | "ir"; 18 | /** 聚焦到编辑器 */ 19 | focus(): void; 20 | /** 让编辑器失焦 */ 21 | blur(): void; 22 | /** 禁用编辑器 */ 23 | disabled(): void; 24 | /** 解除编辑器禁用 */ 25 | enable(): void; 26 | /** 返回选中的字符串 */ 27 | getSelection(): string; 28 | /** 设置预览区域内容 */ 29 | renderPreview(value?: string): void; 30 | /** 获取焦点位置 */ 31 | getCursorPosition(): { 32 | left: number; 33 | top: number; 34 | }; 35 | /** 上传是否还在进行中 */ 36 | isUploading(): boolean; 37 | /** 清除缓存 */ 38 | clearCache(): void; 39 | /** 禁用缓存 */ 40 | disabledCache(): void; 41 | /** 启用缓存 */ 42 | enableCache(): void; 43 | /** HTML 转 md */ 44 | html2md(value: string): string; 45 | /** markdown 转 JSON 输出 */ 46 | exportJSON(value: string): string; 47 | /** 获取 HTML */ 48 | getHTML(): string; 49 | /** 消息提示。time 为 0 将一直显示 */ 50 | tip(text: string, time?: number): void; 51 | /** 设置预览模式 */ 52 | setPreviewMode(mode: "both" | "editor"): void; 53 | /** 删除选中内容 */ 54 | deleteValue(): void; 55 | /** 更新选中内容 */ 56 | updateValue(value: string): void; 57 | /** 在焦点处插入内容,并默认进行 Markdown 渲染 */ 58 | insertValue(value: string, render?: boolean): void; 59 | /** 设置编辑器内容 */ 60 | setValue(markdown: string, clearStack?: boolean): void; 61 | /** 清空 undo & redo 栈 */ 62 | clearStack(): void; 63 | /** 销毁编辑器 */ 64 | destroy(): void; 65 | /** 获取评论 ID */ 66 | getCommentIds(): ICommentsData[]; 67 | /** 高亮评论 */ 68 | hlCommentIds(ids: string[]): void; 69 | /** 取消评论高亮 */ 70 | unHlCommentIds(ids: string[]): void; 71 | /** 删除评论 */ 72 | removeCommentIds(removeIds: string[]): void; 73 | private init; 74 | } 75 | export default Vditor; 76 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/i18n/ja_JP.js: -------------------------------------------------------------------------------- 1 | window.VditorI18n = { 2 | "alignCenter": "中央", 3 | "alignLeft": "左側", 4 | "alignRight": "右側", 5 | "alternateText": "イメージタグ", 6 | "bold": "太く", 7 | "both": "エディター & プレビュー", 8 | "check": "チェックリスト", 9 | "close": "閉じる", 10 | "code": "コードブロック挿入", 11 | "code-theme": "コードブロックテーマ", 12 | "column": "行列", 13 | "comment": "コメント", 14 | "confirm": "確認", 15 | "content-theme": "コンテンツテーマ", 16 | "copied": "コピー完了", 17 | "copy": "コピー", 18 | "delete-column": "列 消去", 19 | "delete-row": "行 消去", 20 | "devtools": "開発ツール", 21 | "down": "ダウンロード", 22 | "downloadTip": "ブラウザがダウンロード機能をサポートしていません。", 23 | "edit": "修正", 24 | "edit-mode": "編集モード", 25 | "emoji": "絵文字", 26 | "export": "書き出し", 27 | "fileTypeError": "サポートしていません。", 28 | "footnoteRef": "脚注参照", 29 | "fullscreen": "全体画面", 30 | "generate": "作成する", 31 | "headings": "タイトル大きさ", 32 | "help": "ヘルプ", 33 | "imageURL": "イメージ URL", 34 | "indent": "字下げ", 35 | "info": "情報", 36 | "inline-code": "インラインコード", 37 | "insert-after": "ブロックの後ろに入力", 38 | "insert-before": "ブロックの前に入力", 39 | "insertColumnLeft": "左側に列を挿入", 40 | "insertColumnRight": "右側に列を挿入", 41 | "insertRowAbove": "上に行を挿入", 42 | "insertRowBelow": "下に行を挿入", 43 | "instantRendering": "インスタントレンダリング", 44 | "italic": "斜体", 45 | "language": "言語", 46 | "line": "段落分割", 47 | "link": "リンク", 48 | "linkRef": "リンク参照", 49 | "list": "リスト", 50 | "more": "詳しく見る", 51 | "nameEmpty": "名前が入力されていません。", 52 | "ordered-list": "順序のあるリスト", 53 | "outdent": "ぶら下げインデント", 54 | "outline": "概要", 55 | "over": "オーバー", 56 | "performanceTip": "リアルタイムプレビューには、${x}msが必要でエディター/プレビューボタンをクリックして閉じる事が出来ます。", 57 | "preview": "プレビュー", 58 | "quote": "引用段落", 59 | "record": "録音開始/録音終了", 60 | "record-tip": "録音がサポートされていません。", 61 | "recording": "録音中...", 62 | "redo": "戻る", 63 | "remove": "消去", 64 | "row": "列", 65 | "spin": "スピン", 66 | "splitView": "マークダウン", 67 | "strike": "取り消し線", 68 | "table": "表 挿入", 69 | "textIsNotEmpty": "テキスト(no empty)", 70 | "title": "題名", 71 | "tooltipText": "ツールチップ", 72 | "undo": "取り消す", 73 | "up": "戻る", 74 | "update": "アップデート", 75 | "upload": "イメージをダウンロードする", 76 | "uploadError": "アップロード失敗", 77 | "uploading": "アップロード中", 78 | "wysiwyg": "ウィジウィグ", 79 | } 80 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/i18n/ko_KR.js: -------------------------------------------------------------------------------- 1 | window.VditorI18n = { 2 | "alignCenter": "가운데", 3 | "alignLeft": "왼쪽", 4 | "alignRight": "오른쪽", 5 | "alternateText": "이미지 태그", 6 | "bold": "굵게", 7 | "both": "에디터 & 미리보기", 8 | "check": "체크박스", 9 | "close": "닫기", 10 | "code": "코드블럭삽입", 11 | "code-theme": "코드블럭테마", 12 | "column": "행", 13 | "comment": "코멘트", 14 | "confirm": "확인", 15 | "content-theme": "컨텐츠테마", 16 | "copied": "복사완료", 17 | "copy": "복사", 18 | "delete-column": "열 삭제", 19 | "delete-row": "행 삭제", 20 | "devtools": "개발툴", 21 | "down": "다운", 22 | "downloadTip": "브라우저가 다운로드 기능을 지원하지 않습니다", 23 | "edit": "수정", 24 | "edit-mode": "편집모드", 25 | "emoji": "이모지", 26 | "export": "내보내기", 27 | "fileTypeError": "지원하지않습니다.", 28 | "footnoteRef": "각주참조", 29 | "fullscreen": "전체화면", 30 | "generate": "생성", 31 | "headings": "제목크기", 32 | "help": "도움말", 33 | "imageURL": "이미지 URL", 34 | "indent": "들여쓰기", 35 | "info": "정보", 36 | "inline-code": "인라인코드", 37 | "insert-after": "블락 뒤로 입력", 38 | "insert-before": "블락 앞으로 입력", 39 | "insertColumnLeft": "왼쪽에 열 삽입", 40 | "insertColumnRight": "오른쪽에 열 삽입", 41 | "insertRowAbove": "위에 행 삽입", 42 | "insertRowBelow": "아래에 행 삽입", 43 | "instantRendering": "타이포라", 44 | "italic": "기울임꼴", 45 | "language": "언어", 46 | "line": "문단나눔", 47 | "link": "링크", 48 | "linkRef": "링크 참조", 49 | "list": "순서없는 목록", 50 | "more": "더보기", 51 | "nameEmpty": "이름이 비어있습니다.", 52 | "ordered-list": "순서있는 목록", 53 | "outdent": "내어쓰기", 54 | "outline": "개요", 55 | "over": "오버", 56 | "performanceTip": "실시간 미리보기에는 ${x}ms가 필요하며 에디터/미리보기 버튼을 클릭하여 닫을 수 있습니다.", 57 | "preview": "미리보기", 58 | "quote": "인용단락", 59 | "record": "녹음시작/녹음종료", 60 | "record-tip": "녹음을 지원하지 않습니다.", 61 | "recording": "녹음중...", 62 | "redo": "되돌리기", 63 | "remove": "삭제", 64 | "row": "열", 65 | "spin": "회전", 66 | "splitView": "마크다운", 67 | "strike": "취소선", 68 | "table": "표삽입", 69 | "textIsNotEmpty": "텍스트(no empty)", 70 | "title": "표제", 71 | "tooltipText": "툴팁", 72 | "undo": "취소하기", 73 | "up": "위로", 74 | "update": "업데이트", 75 | "upload": "이미지 업로드하기", 76 | "uploadError": "업로드 실패", 77 | "uploading": "업로드중...", 78 | "wysiwyg": "위지위그", 79 | } 80 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/i18n/zh_CN.js: -------------------------------------------------------------------------------- 1 | window.VditorI18n = { 2 | "alignCenter": "居中", 3 | "alignLeft": "居左", 4 | "alignRight": "居右", 5 | "alternateText": "替代文本", 6 | "bold": "粗体", 7 | "both": "编辑 & 预览", 8 | "check": "任务列表", 9 | "close": "关闭", 10 | "code": "代码块", 11 | "code-theme": "代码块主题预览", 12 | "column": "列", 13 | "comment": "评论", 14 | "confirm": "确定", 15 | "content-theme": "内容主题预览", 16 | "copied": "已复制", 17 | "copy": "复制", 18 | "delete-column": "删除列", 19 | "delete-row": "删除行", 20 | "devtools": "开发者工具", 21 | "down": "下", 22 | "downloadTip": "该浏览器不支持下载功能", 23 | "edit": "编辑", 24 | "edit-mode": "切换编辑模式", 25 | "emoji": "表情", 26 | "export": "导出", 27 | "fileTypeError": "文件类型不允许上传", 28 | "footnoteRef": "脚注标识", 29 | "fullscreen": "全屏切换", 30 | "generate": "生成中", 31 | "headings": "标题", 32 | "help": "帮助", 33 | "imageURL": "图片地址", 34 | "indent": "列表缩进", 35 | "info": "关于", 36 | "inline-code": "行内代码", 37 | "insert-after": "末尾插入行", 38 | "insert-before": "起始插入行", 39 | "insertColumnLeft": "在左边插入一列", 40 | "insertColumnRight": "在右边插入一列", 41 | "insertRowAbove": "在上方插入一行", 42 | "insertRowBelow": "在下方插入一行", 43 | "instantRendering": "即时渲染", 44 | "italic": "斜体", 45 | "language": "语言", 46 | "line": "分隔线", 47 | "link": "链接", 48 | "linkRef": "引用标识", 49 | "list": "无序列表", 50 | "more": "更多", 51 | "nameEmpty": "文件名不能为空", 52 | "ordered-list": "有序列表", 53 | "outdent": "列表反向缩进", 54 | "outline": "大纲", 55 | "over": "超过", 56 | "performanceTip": "实时预览需 ${x}ms,可点击编辑 & 预览按钮进行关闭", 57 | "preview": "预览", 58 | "quote": "引用", 59 | "record": "开始录音/结束录音", 60 | "record-tip": "该设备不支持录音功能", 61 | "recording": "录音中...", 62 | "redo": "重做", 63 | "remove": "删除", 64 | "row": "行", 65 | "spin": "旋转", 66 | "splitView": "分屏预览", 67 | "strike": "删除线", 68 | "table": "表格", 69 | "textIsNotEmpty": "文本(不能为空)", 70 | "title": "标题", 71 | "tooltipText": "提示文本", 72 | "undo": "撤销", 73 | "up": "上", 74 | "update": "更新", 75 | "upload": "上传图片或文件", 76 | "uploadError": "上传错误", 77 | "uploading": "上传中...", 78 | "wysiwyg": "所见即所得", 79 | } 80 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/i18n/zh_TW.js: -------------------------------------------------------------------------------- 1 | window.VditorI18n = { 2 | "alignCenter": "置中", 3 | "alignLeft": "置左", 4 | "alignRight": "置右", 5 | "alternateText": "替代文字", 6 | "bold": "粗體", 7 | "both": "編輯 & 預覽", 8 | "check": "任務列表", 9 | "close": "關閉", 10 | "code": "代碼塊", 11 | "code-theme": "代碼塊主題預覽", 12 | "column": "欄", 13 | "comment": "評論", 14 | "confirm": "確定", 15 | "content-theme": "內容主題預覽", 16 | "copied": "已複製", 17 | "copy": "複製", 18 | "delete-column": "刪除欄", 19 | "delete-row": "刪除列", 20 | "devtools": "開發者工具", 21 | "down": "下", 22 | "downloadTip": "該瀏覽器不支持下載功能", 23 | "edit": "編輯", 24 | "edit-mode": "切換編輯模式", 25 | "emoji": "表情", 26 | "export": "匯出", 27 | "fileTypeError": "檔案類型不允許上傳", 28 | "footnoteRef": "腳註參考", 29 | "fullscreen": "全螢幕切換", 30 | "generate": "生成中", 31 | "headings": "標題", 32 | "help": "幫助", 33 | "imageURL": "圖片位址", 34 | "indent": "列表縮排", 35 | "info": "關於", 36 | "inline-code": "行內代碼", 37 | "insert-after": "末尾插入列", 38 | "insert-before": "起始插入列", 39 | "insertColumnLeft": "在左邊插入一欄", 40 | "insertColumnRight": "在右邊插入一欄", 41 | "insertRowAbove": "在上方插入一行", 42 | "insertRowBelow": "在下方插入一行", 43 | "instantRendering": "即時渲染", 44 | "italic": "斜體", 45 | "language": "語言", 46 | "line": "分隔線", 47 | "link": "連結", 48 | "linkRef": "連結參考", 49 | "list": "無序列表", 50 | "more": "更多", 51 | "nameEmpty": "文件名不能為空", 52 | "ordered-list": "有序列表", 53 | "outdent": "列表反向縮排", 54 | "outline": "大綱", 55 | "over": "超過", 56 | "performanceTip": "即時預覽需 ${x}ms,可點擊編輯 & 預覽按鈕進行關閉", 57 | "preview": "預覽", 58 | "quote": "引用", 59 | "record": "開始錄音/結束錄音", 60 | "record-tip": "該設備不支持錄音功能", 61 | "recording": "錄音中...", 62 | "redo": "重做", 63 | "remove": "刪除", 64 | "row": "列", 65 | "spin": "旋轉", 66 | "splitView": "分割預覽", 67 | "strike": "刪除縣", 68 | "table": "表格", 69 | "textIsNotEmpty": "文字(不能為空)", 70 | "title": "標題", 71 | "tooltipText": "提示文字", 72 | "undo": "撤銷", 73 | "up": "上", 74 | "update": "更新", 75 | "upload": "上傳圖片或文件", 76 | "uploadError": "上傳錯誤", 77 | "uploading": "上傳中...", 78 | "wysiwyg": "所見即所得", 79 | } 80 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Bold.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Bold.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Bold.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Italic.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Italic.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Italic.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Main-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Math-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Math-Italic.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Math-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Math-Italic.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Math-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Math-Italic.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Script-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Script-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Script-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Script-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Script-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Script-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.ttf -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.woff -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/Vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.woff2 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/mathjax/input/tex/extensions/noerrors.js: -------------------------------------------------------------------------------- 1 | !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=MathJax._.components.global.isObject,t.combineConfig=MathJax._.components.global.combineConfig,t.combineDefaults=MathJax._.components.global.combineDefaults,t.combineWithMathJax=MathJax._.components.global.combineWithMathJax,t.MathJax=MathJax._.components.global.MathJax},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoErrorsConfiguration=void 0;var o=n(2);t.NoErrorsConfiguration=o.Configuration.create("noerrors",{nodes:{error:function(e,t,n,o){var r=e.create("token","mtext",{},o.replace(/\n/g," "));return e.create("node","merror",[r],{"data-mjx-error":t,title:t})}}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=MathJax._.input.tex.Configuration.Configuration,t.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,t.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},function(e,t,n){"use strict";n.r(t);var o=n(0),r=n(1);Object(o.combineWithMathJax)({_:{input:{tex:{noerrors:{NoErrorsConfiguration:r}}}}})}]); -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/js/mathjax/sre/sre-node.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var SRE = require("speech-rule-engine"); 4 | global.SRE = SRE; 5 | global.sre = Object.create(SRE); 6 | global.sre.Engine = { 7 | isReady: function () { 8 | return SRE.engineReady(); 9 | } 10 | }; 11 | //# sourceMappingURL=sre-node.js.map -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/constants.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare const _VDITOR_VERSION: string; 3 | export { _VDITOR_VERSION as VDITOR_VERSION }; 4 | export declare abstract class Constants { 5 | static readonly ZWSP: string; 6 | static readonly DROP_EDITOR: string; 7 | static readonly MOBILE_WIDTH: number; 8 | static readonly CLASS_MENU_DISABLED: string; 9 | static readonly EDIT_TOOLBARS: string[]; 10 | static readonly CODE_THEME: string[]; 11 | static readonly CODE_LANGUAGES: string[]; 12 | static readonly CDN: string; 13 | static readonly MARKDOWN_OPTIONS: { 14 | autoSpace: boolean; 15 | codeBlockPreview: boolean; 16 | fixTermTypo: boolean; 17 | footnotes: boolean; 18 | linkBase: string; 19 | linkPrefix: string; 20 | listStyle: boolean; 21 | mark: boolean; 22 | mathBlockPreview: boolean; 23 | paragraphBeginningSpace: boolean; 24 | sanitize: boolean; 25 | toc: boolean; 26 | }; 27 | static readonly HLJS_OPTIONS: { 28 | enable: boolean; 29 | lineNumber: boolean; 30 | style: string; 31 | }; 32 | static readonly MATH_OPTIONS: IMath; 33 | static readonly THEME_OPTIONS: { 34 | current: string; 35 | list: { 36 | "ant-design": string; 37 | dark: string; 38 | light: string; 39 | wechat: string; 40 | }; 41 | path: string; 42 | }; 43 | } 44 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/devtools/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class DevTools { 3 | element: HTMLDivElement; 4 | private ASTChart; 5 | constructor(); 6 | renderEchart(vditor: IVditor): void; 7 | } 8 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/export/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const download: (vditor: IVditor, content: string, filename: string) => void; 3 | export declare const exportMarkdown: (vditor: IVditor) => void; 4 | export declare const exportPDF: (vditor: IVditor) => void; 5 | export declare const exportHTML: (vditor: IVditor) => void; 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/hint/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class Hint { 3 | timeId: number; 4 | element: HTMLDivElement; 5 | recentLanguage: string; 6 | private splitChar; 7 | private lastIndex; 8 | constructor(hintExtends: IHintExtend[]); 9 | render(vditor: IVditor): void; 10 | genHTML(data: IHintData[], key: string, vditor: IVditor): void; 11 | fillEmoji: (element: HTMLElement, vditor: IVditor) => void; 12 | select(event: KeyboardEvent, vditor: IVditor): boolean; 13 | private getKey; 14 | } 15 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/ir/expandMarker.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const expandMarker: (range: Range, vditor: IVditor) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/ir/highlightToolbarIR.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const highlightToolbarIR: (vditor: IVditor) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/ir/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare class IR { 3 | range: Range; 4 | element: HTMLPreElement; 5 | processTimeoutId: number; 6 | hlToolbarTimeoutId: number; 7 | composingLock: boolean; 8 | preventInput: boolean; 9 | constructor(vditor: IVditor); 10 | private copy; 11 | private bindEvent; 12 | } 13 | export { IR }; 14 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/ir/input.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const input: (vditor: IVditor, range: Range, ignoreSpace?: boolean, event?: InputEvent) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/ir/process.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const processHint: (vditor: IVditor) => void; 3 | export declare const processAfterRender: (vditor: IVditor, options?: { 4 | enableAddUndoStack: boolean; 5 | enableHint: boolean; 6 | enableInput: boolean; 7 | }) => void; 8 | export declare const processHeading: (vditor: IVditor, value: string) => void; 9 | export declare const processToolbar: (vditor: IVditor, actionBtn: Element, prefix: string, suffix: string) => void; 10 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/ir/processKeydown.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const processKeydown: (vditor: IVditor, event: KeyboardEvent) => boolean; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/abcRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const abcRender: (element?: (HTMLElement | Document), cdn?: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/adapterRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const mathRenderAdapter: { 2 | getCode: (mathElement: Element) => string; 3 | getElements: (element: HTMLElement) => NodeListOf; 4 | }; 5 | export declare const mermaidRenderAdapter: { 6 | /** 不仅要返回code,并且需要将 code 设置为 el 的 innerHTML */ 7 | getCode: (el: Element) => string; 8 | getElements: (element: HTMLElement) => NodeListOf; 9 | }; 10 | export declare const mindmapRenderAdapter: { 11 | getCode: (el: Element) => string; 12 | getElements: (el: HTMLElement | Document) => NodeListOf; 13 | }; 14 | export declare const chartRenderAdapter: { 15 | getCode: (el: HTMLElement) => string; 16 | getElements: (el: HTMLElement | Document) => NodeListOf; 17 | }; 18 | export declare const abcRenderAdapter: { 19 | getCode: (el: Element) => string; 20 | getElements: (el: HTMLElement | Document) => NodeListOf; 21 | }; 22 | export declare const graphvizRenderAdapter: { 23 | getCode: (el: Element) => string; 24 | getElements: (el: HTMLElement | Document) => NodeListOf; 25 | }; 26 | export declare const flowchartRenderAdapter: { 27 | getCode: (el: Element) => string; 28 | getElements: (el: HTMLElement | Document) => NodeListOf; 29 | }; 30 | export declare const plantumlRenderAdapter: { 31 | getCode: (el: Element) => string; 32 | getElements: (el: HTMLElement | Document) => NodeListOf; 33 | }; 34 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/anchorRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const anchorRender: (type: number) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/chartRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const chartRender: (element: (HTMLElement | Document), cdn: string, theme: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/codeRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const codeRender: (element: HTMLElement) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/flowchartRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const flowchartRender: (element: HTMLElement, cdn?: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/getHTML.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const getHTML: (vditor: IVditor) => string; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/getMarkdown.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const getMarkdown: (vditor: IVditor) => string; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/graphvizRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const graphvizRender: (element: HTMLElement, cdn?: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/highlightRender.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const highlightRender: (hljsOption?: IHljs, element?: HTMLElement | Document, cdn?: string) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/lazyLoadImageRender.d.ts: -------------------------------------------------------------------------------- 1 | declare global { 2 | interface Window { 3 | vditorImageIntersectionObserver: IntersectionObserver; 4 | } 5 | } 6 | export declare const lazyLoadImageRender: (element?: (HTMLElement | Document)) => boolean; 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/mathRender.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare global { 3 | interface Window { 4 | MathJax: any; 5 | } 6 | } 7 | export declare const mathRender: (element: HTMLElement, options?: { 8 | cdn?: string; 9 | math?: IMath; 10 | }) => void; 11 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/mediaRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const mediaRender: (element: HTMLElement) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/mermaidRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const mermaidRender: (element: HTMLElement, cdn: string, theme: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/mindmapRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const mindmapRender: (element: (HTMLElement | Document), cdn: string, theme: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/outlineRender.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const outlineRender: (contentElement: HTMLElement, targetElement: Element, vditor?: IVditor) => string; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/plantumlRender.d.ts: -------------------------------------------------------------------------------- 1 | export declare const plantumlRender: (element?: (HTMLElement | Document), cdn?: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/previewRender.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const md2html: (mdText: string, options?: IPreviewOptions) => Promise; 3 | export declare const previewRender: (previewElement: HTMLDivElement, markdown: string, options?: IPreviewOptions) => Promise; 4 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/setLute.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const setLute: (options: ILuteOptions) => Lute; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/markdown/speechRender.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare global { 3 | interface Window { 4 | vditorSpeechRange: Range; 5 | } 6 | } 7 | export declare const speechRender: (element: HTMLElement, lang?: keyof II18n) => void; 8 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/outline/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class Outline { 3 | element: HTMLElement; 4 | constructor(outlineLabel: string); 5 | render(vditor: IVditor): string; 6 | toggle(vditor: IVditor, show?: boolean): void; 7 | } 8 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/preview/image.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const previewImage: (oldImgElement: HTMLImageElement, lang?: keyof II18n, theme?: string) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/preview/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class Preview { 3 | element: HTMLElement; 4 | private mdTimeoutId; 5 | constructor(vditor: IVditor); 6 | render(vditor: IVditor, value?: string): void; 7 | private afterRender; 8 | private copyToX; 9 | } 10 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/resize/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class Resize { 3 | element: HTMLElement; 4 | constructor(vditor: IVditor); 5 | private bindEvent; 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/sv/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare class Editor { 3 | range: Range; 4 | element: HTMLPreElement; 5 | composingLock: boolean; 6 | processTimeoutId: number; 7 | hlToolbarTimeoutId: number; 8 | preventInput: boolean; 9 | constructor(vditor: IVditor); 10 | private copy; 11 | private bindEvent; 12 | } 13 | export { Editor }; 14 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/sv/inputEvent.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const inputEvent: (vditor: IVditor, event?: InputEvent) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/sv/process.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const processPaste: (vditor: IVditor, text: string) => void; 3 | export declare const getSideByType: (spanNode: Node, type: string, isPrevious?: boolean) => false | Element; 4 | export declare const processSpinVditorSVDOM: (html: string, vditor: IVditor) => string; 5 | export declare const processPreviousMarkers: (spanElement: HTMLElement) => string; 6 | export declare const processAfterRender: (vditor: IVditor, options?: { 7 | enableAddUndoStack: boolean; 8 | enableHint: boolean; 9 | enableInput: boolean; 10 | }) => void; 11 | export declare const processHeading: (vditor: IVditor, value: string) => void; 12 | export declare const processToolbar: (vditor: IVditor, actionBtn: Element, prefix: string, suffix: string) => void; 13 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/sv/processKeydown.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const processKeydown: (vditor: IVditor, event: KeyboardEvent) => boolean; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/tip/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare class Tip { 2 | element: HTMLElement; 3 | constructor(); 4 | show(text: string, time?: number): void; 5 | hide(): void; 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Both.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Both extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Br.d.ts: -------------------------------------------------------------------------------- 1 | export declare class Br { 2 | element: HTMLElement; 3 | constructor(); 4 | } 5 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/CodeTheme.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class CodeTheme extends MenuItem { 4 | element: HTMLElement; 5 | constructor(vditor: IVditor, menuItem: IMenuItem); 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/ContentTheme.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class ContentTheme extends MenuItem { 4 | element: HTMLElement; 5 | constructor(vditor: IVditor, menuItem: IMenuItem); 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Counter.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class Counter { 3 | element: HTMLElement; 4 | constructor(vditor: IVditor); 5 | render(vditor: IVditor, mdText: string): void; 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Custom.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Custom extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Devtools.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Devtools extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Divider.d.ts: -------------------------------------------------------------------------------- 1 | export declare class Divider { 2 | element: HTMLElement; 3 | constructor(); 4 | } 5 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/EditMode.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare const setEditMode: (vditor: IVditor, type: string, event: Event | string) => void; 4 | export declare class EditMode extends MenuItem { 5 | element: HTMLElement; 6 | constructor(vditor: IVditor, menuItem: IMenuItem); 7 | _bindEvent(vditor: IVditor, panelElement: HTMLElement, menuItem: IMenuItem): void; 8 | } 9 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Emoji.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Emoji extends MenuItem { 4 | element: HTMLElement; 5 | constructor(vditor: IVditor, menuItem: IMenuItem); 6 | _bindEvent(vditor: IVditor, panelElement: HTMLElement): void; 7 | } 8 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Export.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Export extends MenuItem { 4 | element: HTMLElement; 5 | constructor(vditor: IVditor, menuItem: IMenuItem); 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Fullscreen.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Fullscreen extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | _bindEvent(vditor: IVditor, menuItem: IMenuItem): void; 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Headings.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Headings extends MenuItem { 4 | element: HTMLElement; 5 | constructor(vditor: IVditor, menuItem: IMenuItem); 6 | _bindEvent(vditor: IVditor, panelElement: HTMLElement): void; 7 | } 8 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Help.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Help extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Indent.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Indent extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Info.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Info extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/InsertAfter.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class InsertAfter extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/InsertBefore.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class InsertBefore extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/MenuItem.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class MenuItem { 3 | element: HTMLElement; 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Outdent.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Outdent extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Outline.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Outline extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Preview.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Preview extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | _bindEvent(vditor: IVditor): void; 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Record.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Record extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | _bindEvent(vditor: IVditor): void; 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Redo.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Redo extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Undo.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Undo extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | } 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/Upload.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { MenuItem } from "./MenuItem"; 3 | export declare class Upload extends MenuItem { 4 | constructor(vditor: IVditor, menuItem: IMenuItem); 5 | _bindEvent(vditor: IVditor): void; 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class Toolbar { 3 | elements: { 4 | [key: string]: HTMLElement; 5 | }; 6 | element: HTMLElement; 7 | constructor(vditor: IVditor); 8 | private genItem; 9 | } 10 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/toolbar/setToolbar.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const removeCurrentToolbar: (toolbar: { 3 | [key: string]: HTMLElement; 4 | }, names: string[]) => void; 5 | export declare const setCurrentToolbar: (toolbar: { 6 | [key: string]: HTMLElement; 7 | }, names: string[]) => void; 8 | export declare const enableToolbar: (toolbar: { 9 | [key: string]: HTMLElement; 10 | }, names: string[]) => void; 11 | export declare const disableToolbar: (toolbar: { 12 | [key: string]: HTMLElement; 13 | }, names: string[]) => void; 14 | export declare const hideToolbar: (toolbar: { 15 | [key: string]: HTMLElement; 16 | }, names: string[]) => void; 17 | export declare const showToolbar: (toolbar: { 18 | [key: string]: HTMLElement; 19 | }, names: string[]) => void; 20 | export declare const hidePanel: (vditor: IVditor, panels: string[], exceptElement?: HTMLElement) => void; 21 | export declare const toggleSubMenu: (vditor: IVditor, panelElement: HTMLElement, actionBtn: Element, level: number) => void; 22 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/ui/initUI.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare global { 3 | interface Window { 4 | visualViewport: HTMLElement; 5 | } 6 | } 7 | export declare const initUI: (vditor: IVditor) => void; 8 | export declare const setPadding: (vditor: IVditor) => void; 9 | export declare const setTypewriterPosition: (vditor: IVditor) => void; 10 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/ui/setCodeTheme.d.ts: -------------------------------------------------------------------------------- 1 | export declare const setCodeTheme: (codeTheme: string, cdn?: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/ui/setContentTheme.d.ts: -------------------------------------------------------------------------------- 1 | export declare const setContentTheme: (contentTheme: string, path: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/ui/setPreviewMode.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const setPreviewMode: (mode: "both" | "editor", vditor: IVditor) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/ui/setTheme.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const setTheme: (vditor: IVditor) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/undo/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare class Undo { 3 | private stackSize; 4 | private dmp; 5 | private wysiwyg; 6 | private ir; 7 | private sv; 8 | constructor(); 9 | clearStack(vditor: IVditor): void; 10 | resetIcon(vditor: IVditor): void; 11 | undo(vditor: IVditor): void; 12 | redo(vditor: IVditor): void; 13 | recordFirstPosition(vditor: IVditor, event: KeyboardEvent): void; 14 | addToUndoStack(vditor: IVditor): void; 15 | private renderDiff; 16 | private resetStack; 17 | private addCaret; 18 | } 19 | export { Undo }; 20 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/upload/getElement.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const getElement: (vditor: IVditor) => HTMLPreElement; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/upload/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare class Upload { 3 | element: HTMLElement; 4 | isUploading: boolean; 5 | range: Range; 6 | constructor(); 7 | } 8 | declare const uploadFiles: (vditor: IVditor, files: FileList | DataTransferItemList | File[], element?: HTMLInputElement) => Promise; 9 | export { Upload, uploadFiles }; 10 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/upload/setHeaders.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const setHeaders: (vditor: IVditor, xhr: XMLHttpRequest) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/Options.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare class Options { 3 | options: IOptions; 4 | private defaultOptions; 5 | constructor(options: IOptions); 6 | merge(): IOptions; 7 | private mergeToolbar; 8 | } 9 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/RecordMedia.d.ts: -------------------------------------------------------------------------------- 1 | export declare class RecordMedia { 2 | SAMPLE_RATE: number; 3 | DEFAULT_SAMPLE_RATE: number; 4 | isRecording: boolean; 5 | readyFlag: boolean; 6 | leftChannel: Float32List[]; 7 | rightChannel: Float32List[]; 8 | recordingLength: number; 9 | recorder: ScriptProcessorNode; 10 | constructor(e: MediaStream); 11 | cloneChannelData(leftChannelData: Float32List, rightChannelData: Float32List): void; 12 | startRecordingNewWavFile(): void; 13 | stopRecording(): void; 14 | buildWavFileBlob(): Blob; 15 | private downSampleBuffer; 16 | private mergeBuffers; 17 | private writeUTFBytes; 18 | } 19 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/addScript.d.ts: -------------------------------------------------------------------------------- 1 | export declare const addScriptSync: (path: string, id: string) => boolean; 2 | export declare const addScript: (path: string, id: string) => Promise; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/addStyle.d.ts: -------------------------------------------------------------------------------- 1 | export declare const addStyle: (url: string, id: string) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/code160to32.d.ts: -------------------------------------------------------------------------------- 1 | export declare const code160to32: (text: string) => string; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/compatibility.d.ts: -------------------------------------------------------------------------------- 1 | export declare const isSafari: () => boolean; 2 | export declare const isFirefox: () => boolean; 3 | export declare const accessLocalStorage: () => boolean; 4 | export declare const getEventName: () => "click" | "touchstart"; 5 | export declare const isCtrl: (event: KeyboardEvent) => boolean; 6 | export declare const updateHotkeyTip: (hotkey: string) => string; 7 | export declare const isChrome: () => boolean; 8 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/editorCommonEvent.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const focusEvent: (vditor: IVditor, editorElement: HTMLElement) => void; 3 | export declare const dblclickEvent: (vditor: IVditor, editorElement: HTMLElement) => void; 4 | export declare const blurEvent: (vditor: IVditor, editorElement: HTMLElement) => void; 5 | export declare const dropEvent: (vditor: IVditor, editorElement: HTMLElement) => void; 6 | export declare const copyEvent: (vditor: IVditor, editorElement: HTMLElement, copy: (event: ClipboardEvent, vditor: IVditor) => void) => void; 7 | export declare const cutEvent: (vditor: IVditor, editorElement: HTMLElement, copy: (event: ClipboardEvent, vditor: IVditor) => void) => void; 8 | export declare const scrollCenter: (vditor: IVditor) => void; 9 | export declare const hotkeyEvent: (vditor: IVditor, editorElement: HTMLElement) => void; 10 | export declare const selectEvent: (vditor: IVditor, editorElement: HTMLElement) => void; 11 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/getSelectText.d.ts: -------------------------------------------------------------------------------- 1 | export declare const getSelectText: (editor: HTMLElement, range?: Range) => string; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/hasClosest.d.ts: -------------------------------------------------------------------------------- 1 | export declare const hasTopClosestByClassName: (element: Node, className: string) => false | HTMLElement; 2 | export declare const hasTopClosestByAttribute: (element: Node, attr: string, value: string) => false | HTMLElement; 3 | export declare const hasTopClosestByTag: (element: Node, nodeName: string) => false | HTMLElement; 4 | export declare const getTopList: (element: Node) => false | HTMLElement; 5 | export declare const hasClosestByAttribute: (element: Node, attr: string, value: string) => false | HTMLElement; 6 | export declare const hasClosestBlock: (element: Node) => false | HTMLElement; 7 | export declare const hasClosestByMatchTag: (element: Node, nodeName: string) => false | HTMLElement; 8 | export declare const hasClosestByClassName: (element: Node, className: string) => false | HTMLElement; 9 | export declare const getLastNode: (node: Node) => Node; 10 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/hasClosestByHeadings.d.ts: -------------------------------------------------------------------------------- 1 | export declare const hasClosestByTag: (element: Node, nodeName: string) => false | HTMLElement; 2 | export declare const hasClosestByHeadings: (element: Node) => false | HTMLElement; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/highlightToolbar.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const highlightToolbar: (vditor: IVditor) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/hotKey.d.ts: -------------------------------------------------------------------------------- 1 | export declare const matchHotKey: (hotKey: string, event: KeyboardEvent) => boolean; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/log.d.ts: -------------------------------------------------------------------------------- 1 | export declare const log: (method: string, content: string, type: string, print: boolean) => void; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/merge.d.ts: -------------------------------------------------------------------------------- 1 | export declare const merge: (...options: any[]) => any; 2 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/processCode.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const processPasteCode: (html: string, text: string, type?: string) => string | false; 3 | export declare const processCodeRender: (previewPanel: HTMLElement, vditor: IVditor) => void; 4 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/selection.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const getEditorRange: (vditor: IVditor) => Range; 3 | export declare const getCursorPosition: (editor: HTMLElement) => { 4 | left: number; 5 | top: number; 6 | }; 7 | export declare const selectIsEditor: (editor: HTMLElement, range?: Range) => boolean; 8 | export declare const setSelectionFocus: (range: Range) => void; 9 | export declare const getSelectPosition: (selectElement: HTMLElement, editorElement: HTMLElement, range?: Range) => { 10 | end: number; 11 | start: number; 12 | }; 13 | export declare const setSelectionByPosition: (start: number, end: number, editor: HTMLElement) => Range; 14 | export declare const setRangeByWbr: (element: HTMLElement, range: Range) => void; 15 | export declare const insertHTML: (html: string, vditor: IVditor) => void; 16 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/util/toc.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const renderToc: (vditor: IVditor) => void; 3 | export declare const clickToc: (event: MouseEvent & { 4 | target: HTMLElement; 5 | }, vditor: IVditor) => void; 6 | export declare const keydownToc: (blockElement: HTMLElement, vditor: IVditor, event: KeyboardEvent, range: Range) => boolean; 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/wysiwyg/afterRenderEvent.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const afterRenderEvent: (vditor: IVditor, options?: { 3 | enableAddUndoStack: boolean; 4 | enableHint: boolean; 5 | enableInput: boolean; 6 | }) => void; 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/wysiwyg/highlightToolbarWYSIWYG.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const highlightToolbarWYSIWYG: (vditor: IVditor) => void; 3 | export declare const genLinkRefPopover: (vditor: IVditor, linkRefElement: HTMLElement) => void; 4 | export declare const genAPopover: (vditor: IVditor, aElement: HTMLElement) => void; 5 | export declare const genImagePopover: (event: Event, vditor: IVditor) => void; 6 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/wysiwyg/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare class WYSIWYG { 3 | range: Range; 4 | element: HTMLPreElement; 5 | popover: HTMLDivElement; 6 | selectPopover: HTMLDivElement; 7 | afterRenderTimeoutId: number; 8 | hlToolbarTimeoutId: number; 9 | preventInput: boolean; 10 | composingLock: boolean; 11 | commentIds: string[]; 12 | constructor(vditor: IVditor); 13 | getComments(vditor: IVditor, getData?: boolean): ICommentsData[]; 14 | triggerRemoveComment(vditor: IVditor): void; 15 | showComment(): void; 16 | hideComment(): void; 17 | private copy; 18 | private bindEvent; 19 | } 20 | export { WYSIWYG }; 21 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/wysiwyg/inlineTag.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const previoueIsEmptyA: (node: Node) => false | HTMLElement; 3 | export declare const nextIsCode: (range: Range) => boolean; 4 | export declare const getNextHTML: (node: Node) => string; 5 | export declare const getPreviousHTML: (node: Node) => string; 6 | export declare const getRenderElementNextNode: (blockCodeElement: HTMLElement) => ChildNode; 7 | export declare const splitElement: (range: Range) => { 8 | afterHTML: string; 9 | beforeHTML: string; 10 | }; 11 | export declare const modifyPre: (vditor: IVditor, range: Range) => void; 12 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/wysiwyg/input.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const input: (vditor: IVditor, range: Range, event?: InputEvent) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/wysiwyg/processKeydown.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const processKeydown: (vditor: IVditor, event: KeyboardEvent) => boolean; 3 | export declare const removeBlockElement: (vditor: IVditor, event: KeyboardEvent) => boolean; 4 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/wysiwyg/renderDomByMd.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const renderDomByMd: (vditor: IVditor, md: string, options?: { 3 | enableAddUndoStack: boolean; 4 | enableHint: boolean; 5 | enableInput: boolean; 6 | }) => void; 7 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/wysiwyg/setHeading.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const setHeading: (vditor: IVditor, tagName: string) => void; 3 | export declare const removeHeading: (vditor: IVditor) => void; 4 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/wysiwyg/showCode.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const showCode: (previewElement: HTMLElement, vditor: IVditor, first?: boolean) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/dist/ts/wysiwyg/toolbarEvent.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const toolbarEvent: (vditor: IVditor, actionBtn: Element, event: Event) => void; 3 | -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/Vditor/src/purple.user.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-weight: 500; 3 | font-size: 18px; 4 | } -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/_CodeSignature/CodeDirectory: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/_CodeSignature/CodeDirectory -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/_CodeSignature/CodeRequirements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/_CodeSignature/CodeRequirements -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/_CodeSignature/CodeRequirements-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/_CodeSignature/CodeRequirements-1 -------------------------------------------------------------------------------- /marknote/Editor/Editor.bundle/_CodeSignature/CodeSignature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/marknote/Editor/Editor.bundle/_CodeSignature/CodeSignature -------------------------------------------------------------------------------- /marknote/Editor/EditorView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // EditorView.swift 3 | // marknote 4 | // 5 | // Created by 钟赫明 on 2021/4/28. 6 | // 7 | 8 | import Foundation 9 | import SwiftUI 10 | 11 | 12 | // MARK: - EditorView:显示指定内容的Markdown编辑器 13 | struct EditorView: View { 14 | @Binding var document: String 15 | @Binding var edited: Bool 16 | var fileURL: URL? 17 | var body: some View { 18 | VStack { 19 | VditorView(code: $document, edited: $edited) 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /marknote/Editor/VditorLib/Bundle.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Bundle.swift 3 | // iEdit 4 | // 5 | // Created by 钟赫明 on 2020/9/28. 6 | // 7 | 8 | import Foundation 9 | private class BundleFinder {} 10 | 11 | extension Foundation.Bundle { 12 | /// Returns the resource bundle associated with the current Swift module. 13 | static var module: Bundle = { 14 | let bundleName = "Editor" 15 | 16 | let candidates = [ 17 | // Bundle should be present here when the package is linked into an App. 18 | Bundle.main.resourceURL, 19 | 20 | // Bundle should be present here when the package is linked into a framework. 21 | Bundle(for: BundleFinder.self).resourceURL, 22 | 23 | // For command-line tools. 24 | Bundle.main.bundleURL, 25 | ] 26 | 27 | for candidate in candidates { 28 | let bundlePath = candidate?.appendingPathComponent(bundleName + ".bundle") 29 | if let bundle = bundlePath.flatMap(Bundle.init(url:)) { 30 | return bundle 31 | } 32 | } 33 | fatalError("unable to find bundle named Editor") 34 | }() 35 | } 36 | 37 | extension Bundle { 38 | static func EditorBundle() throws -> Bundle { 39 | let bundle = Bundle.module 40 | guard (bundle.resourceURL?.appendingPathComponent("Editor", isDirectory: false).appendingPathExtension("bundle")) != nil else { 41 | throw NSError(domain: "com.Editor", code: 404, userInfo: [NSLocalizedDescriptionKey: "Missing resource bundle"]) 42 | } 43 | let mpath = Bundle.main.url(forResource: "Editor", withExtension: "bundle") 44 | guard let Monacobundle = Bundle(url: mpath!) else { 45 | throw NSError(domain: "com.Editor", code: 404, userInfo: [NSLocalizedDescriptionKey: "Missing resource bundle"]) 46 | } 47 | return Monacobundle 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /marknote/Editor/VditorLib/Data.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Data.swift 3 | // iEdit 4 | // 5 | // Created by 钟赫明 on 2020/9/28. 6 | // 7 | 8 | import Foundation 9 | 10 | extension Data { 11 | func hexEncodedString() -> String { 12 | return map { String(format: "%02hhx", $0) }.joined() 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /marknote/Editor/VditorLib/Mode.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Mode.swift 3 | // iEdit 4 | // 5 | // Created by 钟赫明 on 2020/9/28. 6 | // 7 | 8 | import Foundation 9 | 10 | /// deprecated 11 | public enum CodeMode: String { 12 | case apl = "apl" 13 | case pgp = "pgp" 14 | case asn = "asn" 15 | case cmake = "cmake" 16 | case c_cplus = "cpp" 17 | case objc = "objective-c" 18 | case kotlin = "kotlin" 19 | case scala = "scala" 20 | case csharp = "csharp" 21 | case java = "java" 22 | case cobol = "cobol" 23 | case coffeescript 24 | case lisp = "lisp" 25 | case css = "css" 26 | case django = "django" 27 | case dockerfile = "dockerfile" 28 | case go = "go" 29 | case groovy = "groovy" 30 | case haskell = "haskell" 31 | case html = "html" 32 | case javascript = "javascript" 33 | case typescript = "typescript" 34 | case json = "json" 35 | case ecma = "ecma" 36 | case jinja = "jinja" 37 | case lua = "lua" 38 | case markdown = "markdown" 39 | case maths = "maths" 40 | case pascal = "pascal" 41 | case perl = "perl" 42 | case php = "php" 43 | case powershell = "powershell" 44 | case properties = "properties" 45 | case protobuf = "protobuf" 46 | case python = "python" 47 | case r = "r" 48 | case ruby = "ruby" 49 | case rust = "rust" 50 | case sass = "sass" 51 | case scheme = "scheme" 52 | case shell = "shell" 53 | case sql = "sql" 54 | case sqllite = "sqllite" 55 | case mysql = "mysql" 56 | case latex = "latex" 57 | case swift = "swift" 58 | case text = "" 59 | case toml = "toml" 60 | case vb = "vb" 61 | case vue = "vue" 62 | case xml = "xml" 63 | case yaml = "yaml" 64 | } 65 | -------------------------------------------------------------------------------- /marknote/Editor/VditorLib/Theme.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Theme.swift 3 | // iEdit 4 | // 5 | // Created by 钟赫明 on 2020/9/29. 6 | // 7 | 8 | import Foundation 9 | 10 | public enum EditorTheme: String { 11 | case light = "light" 12 | case dark = "dark" 13 | } 14 | -------------------------------------------------------------------------------- /marknote/Editor/VditorLib/VditorViewRPC.swift: -------------------------------------------------------------------------------- 1 | // 2 | // VditorViewRPC.swift 3 | // iEdit 4 | // 5 | // Created by 钟赫明 on 2020/9/29. 6 | // 7 | 8 | import Foundation 9 | 10 | public struct VditorViewRPC { 11 | static let isReady = "EditorIsReady" 12 | static let textContentDidChange = "TextContentDidChange" 13 | static let logHandler = "LogHandler" 14 | } 15 | -------------------------------------------------------------------------------- /marknote/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UIApplicationSceneManifest 24 | 25 | UIApplicationSupportsMultipleScenes 26 | 27 | 28 | UIApplicationSupportsIndirectInputEvents 29 | 30 | UILaunchScreen 31 | 32 | UIRequiredDeviceCapabilities 33 | 34 | armv7 35 | 36 | UISupportedInterfaceOrientations 37 | 38 | UIInterfaceOrientationPortrait 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UISupportedInterfaceOrientations~ipad 43 | 44 | UIInterfaceOrientationPortrait 45 | UIInterfaceOrientationPortraitUpsideDown 46 | UIInterfaceOrientationLandscapeLeft 47 | UIInterfaceOrientationLandscapeRight 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /marknote/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /marknote/Usersetting.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Usersetting.swift 3 | // marknote 4 | // 5 | // Created by 钟赫明 on 2021/6/7. 6 | // 7 | 8 | import Foundation 9 | import Combine 10 | 11 | /// use userdefault.standard to store user settings 12 | /// link: https://www.simpleswiftguide.com/how-to-use-userdefaults-in-swiftui/ 13 | /// For a unique, static preference object, using this rather than Core Data Entity is a better choice 14 | class Usersettings: ObservableObject { 15 | @Published var user: String { 16 | didSet { 17 | UserDefaults.standard.set(user, forKey: "user") 18 | } 19 | } 20 | 21 | @Published var token: String { 22 | didSet { 23 | UserDefaults.standard.set(token, forKey: "token") 24 | } 25 | } 26 | 27 | @Published var branch: String { 28 | didSet { 29 | UserDefaults.standard.set(branch, forKey: "branch") 30 | } 31 | } 32 | 33 | @Published var type: String { 34 | didSet { 35 | UserDefaults.standard.set(type, forKey: "type") 36 | } 37 | } 38 | 39 | @Published var repo: String { 40 | didSet { 41 | UserDefaults.standard.set(repo, forKey: "repo") 42 | } 43 | } 44 | 45 | @Published var url: String { 46 | didSet { 47 | UserDefaults.standard.set(url, forKey: "url") 48 | } 49 | } 50 | 51 | init() { 52 | self.user = UserDefaults.standard.object(forKey: "user") as? String ?? "" 53 | self.token = UserDefaults.standard.object(forKey: "token") as? String ?? "" 54 | self.repo = UserDefaults.standard.object(forKey: "repo") as? String ?? "" 55 | self.branch = UserDefaults.standard.object(forKey: "branch") as? String ?? "" 56 | self.type = UserDefaults.standard.object(forKey: "type") as? String ?? "" 57 | self.url = UserDefaults.standard.object(forKey: "url") as? String ?? "" 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /marknote/Views/DrawerComponent/ShortcutListView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ShortcutListView.swift 3 | // marknote 4 | // 5 | // Created by 钟赫明 on 2021/5/12. 6 | // 7 | 8 | import Foundation 9 | import SwiftUI 10 | 11 | 12 | extension MainView { 13 | var ShortcutList: some View { 14 | ForEach(Marks) { mark in 15 | Button(mark.name ?? "") { 16 | loadMark(mark: mark) 17 | } 18 | .contextMenu { 19 | Button(action: { 20 | viewContext.delete(mark) 21 | do { 22 | try viewContext.save() 23 | } 24 | catch { 25 | let nsError = error as NSError 26 | fatalError("[ERROR] Core Data saving: \(nsError)") 27 | } 28 | }, label: { 29 | Text("取消") 30 | .accentColor(.red) 31 | Image(systemName: "bookmark.slash") 32 | .accentColor(.red) 33 | }) 34 | } 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /marknote/Views/DrawerComponent/sidebarView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // sidebarView.swift 3 | // marknote 4 | // 5 | // Created by 钟赫明 on 2021/4/3. 6 | // 7 | 8 | import Foundation 9 | import SwiftUI 10 | 11 | extension MainView { 12 | func loadMark(mark: BookMarks) { 13 | var isStale = true 14 | var url: URL! 15 | do { 16 | url = try URL(resolvingBookmarkData: mark.data!, bookmarkDataIsStale: &isStale) 17 | } 18 | catch { 19 | print("[ERROR] unable to fetch bookmark from CoreData: \(error)") 20 | } 21 | filePicked(url) 22 | } 23 | 24 | 25 | // MARK: - 侧边栏视图 26 | var sidebar: some View { 27 | List { 28 | Section(header: Text("收藏的目录")) { 29 | ShortcutList 30 | } 31 | Section(header: Text("打开的目录")) { 32 | OpenedFileTree 33 | } 34 | 35 | } 36 | .listStyle(SidebarListStyle()) 37 | .navigationBarTitle("文件与目录") 38 | .toolbar { 39 | ToolbarItem(placement: .navigationBarLeading) { 40 | TopToolBarLeading 41 | } 42 | } 43 | // .edgesIgnoringSafeArea(.all) 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /marknote/Views/DrawerView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DrawerView.swift 3 | // marknote 4 | // 5 | // Created by 钟赫明 on 2021/5/12. 6 | // 7 | 8 | import Foundation 9 | import SwiftUI 10 | 11 | extension MainView { 12 | var Drawer: some View { 13 | NavigationView { 14 | sidebar 15 | } 16 | .accessibility(hidden: (offset == CGFloat(-320))) 17 | .frame(width: CGFloat(320), height: .infinity) 18 | .offset(x: offset) 19 | .animation(.default) 20 | .ignoresSafeArea(.all) 21 | .shadow(radius: 0.9) 22 | .navigationViewStyle(StackNavigationViewStyle()) 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /marknote/Views/PrimaryComponent/Editor.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Editor.swift 3 | // marknote 4 | // 5 | // Created by 钟赫明 on 2021/5/12. 6 | // 7 | 8 | import Foundation 9 | import SwiftUI 10 | 11 | extension MainView { 12 | // deprecated 13 | func buildeditor() -> AnyView { 14 | return AnyView( EditorView(document: self.$Openedfilelist.content,edited: self.$Openedfilelist.edited, fileURL: self.Openedfilelist.path) ) 15 | } 16 | 17 | // MARK: - 编辑器视图 18 | var Editor: some View { 19 | VStack { 20 | VditorView(code: self.$Openedfilelist.content,edited: self.$Openedfilelist.edited) 21 | .environmentObject(controller) 22 | } 23 | .disabled(horizontalSizeClass == .compact && (offset != CGFloat(-320) ? true : false)) 24 | .toolbar() { 25 | ToolbarItem(placement: .navigationBarLeading) { 26 | TopToolBarLeading 27 | } 28 | ToolbarItem(placement: .principal) { 29 | TopToolBarPrincipal 30 | } 31 | ToolbarItem(placement: .automatic, content: { 32 | Button("save") { 33 | savefile() 34 | } 35 | // .padding() 36 | .frame(width: nil, height: nil, alignment: .center) 37 | .hoverEffect() 38 | }) 39 | ToolbarItem(placement: .navigationBarTrailing) { 40 | navitool 41 | } 42 | } 43 | .navigationBarTitleDisplayMode(.inline) 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /marknote/Views/PrimaryView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PrimaryView.swift 3 | // marknote 4 | // 5 | // Created by 钟赫明 on 2021/5/12. 6 | // 7 | 8 | import Foundation 9 | import SwiftUI 10 | 11 | extension MainView { 12 | 13 | // The primary part of the App UI 14 | var Primary: some View { 15 | NavigationView { 16 | Editor 17 | } 18 | .ignoresSafeArea(.all) 19 | .frame(height: .infinity) 20 | .navigationViewStyle(StackNavigationViewStyle()) 21 | 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /marknote/Views/ShadowCover.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ShadowCover.swift 3 | // marknote 4 | // 5 | // Created by 钟赫明 on 2021/5/12. 6 | // 7 | 8 | import Foundation 9 | import SwiftUI 10 | 11 | extension MainView { 12 | var ShadowCover: some View { 13 | Rectangle() 14 | .opacity(0.001) 15 | .ignoresSafeArea(.all) 16 | .edgesIgnoringSafeArea(.all) 17 | .tappable { 18 | withAnimation { 19 | if offset == CGFloat(-320) { 20 | offset = CGFloat(0) 21 | } 22 | else { 23 | offset = CGFloat(-320) 24 | } 25 | } 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /marknote/marknoteApp.swift: -------------------------------------------------------------------------------- 1 | // 2 | // marknoteApp.swift 3 | // marknote 4 | // 5 | // Created by 钟赫明 on 2021/1/31. 6 | // 7 | 8 | import SwiftUI 9 | 10 | @main 11 | struct marknoteApp: App { 12 | let persistenceController = PersistenceController.shared 13 | static let controller = VditorController(nil) 14 | 15 | var body: some Scene { 16 | WindowGroup { 17 | MainView(DirOpened: DirOpened,Openedfilelist: Openedfilelist) 18 | .environment(\.managedObjectContext, persistenceController.container.viewContext) 19 | .environmentObject(marknoteApp.controller) 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /marknoteTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /marknoteTests/marknoteTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // marknoteTests.swift 3 | // marknoteTests 4 | // 5 | // Created by 钟赫明 on 2021/1/31. 6 | // 7 | 8 | import XCTest 9 | @testable import marknote 10 | 11 | class marknoteTests: XCTestCase { 12 | 13 | override func setUpWithError() throws { 14 | // Put setup code here. This method is called before the invocation of each test method in the class. 15 | } 16 | 17 | override func tearDownWithError() throws { 18 | // Put teardown code here. This method is called after the invocation of each test method in the class. 19 | } 20 | 21 | func testExample() throws { 22 | // This is an example of a functional test case. 23 | // Use XCTAssert and related functions to verify your tests produce the correct results. 24 | } 25 | 26 | func testPerformanceExample() throws { 27 | // This is an example of a performance test case. 28 | self.measure { 29 | // Put the code you want to measure the time of here. 30 | } 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /marknoteUITests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /marknoteUITests/marknoteUITests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // marknoteUITests.swift 3 | // marknoteUITests 4 | // 5 | // Created by 钟赫明 on 2021/1/31. 6 | // 7 | 8 | import XCTest 9 | 10 | class marknoteUITests: XCTestCase { 11 | 12 | override func setUpWithError() throws { 13 | // Put setup code here. This method is called before the invocation of each test method in the class. 14 | 15 | // In UI tests it is usually best to stop immediately when a failure occurs. 16 | continueAfterFailure = false 17 | 18 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. 19 | } 20 | 21 | override func tearDownWithError() throws { 22 | // Put teardown code here. This method is called after the invocation of each test method in the class. 23 | } 24 | 25 | func testExample() throws { 26 | // UI tests must launch the application that they test. 27 | let app = XCUIApplication() 28 | app.launch() 29 | 30 | // Use recording to get started writing UI tests. 31 | // Use XCTAssert and related functions to verify your tests produce the correct results. 32 | } 33 | 34 | func testLaunchPerformance() throws { 35 | if #available(macOS 10.15, iOS 13.0, tvOS 13.0, *) { 36 | // This measures how long it takes to launch your application. 37 | measure(metrics: [XCTApplicationLaunchMetric()]) { 38 | XCUIApplication().launch() 39 | } 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /pics/marknote_theme.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/pics/marknote_theme.gif -------------------------------------------------------------------------------- /pics/marknote演示.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Heming-Zhong/marknote/8a3477d83c22c9f7b6ba1df99021ecf9a0f05f5b/pics/marknote演示.gif --------------------------------------------------------------------------------