├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── app ├── __init__.py ├── admin │ ├── __init__.py │ ├── forms │ │ ├── __init__.py │ │ ├── book.py │ │ ├── site.py │ │ ├── start.py │ │ └── user.py │ └── views │ │ ├── __init__.py │ │ ├── book.py │ │ ├── site.py │ │ ├── start.py │ │ └── user.py ├── api │ ├── __init__.py │ └── views │ │ ├── __init__.py │ │ ├── book.py │ │ ├── file.py │ │ └── user.py ├── config_default.py ├── includes │ ├── __init__.py │ ├── diff.py │ ├── file.py │ ├── html.py │ ├── start.py │ ├── url.py │ └── util.py ├── log.py ├── models │ ├── __init__.py │ ├── book.py │ ├── model.py │ ├── site.py │ └── user.py ├── static │ ├── asserts │ │ ├── bookeditor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bookeditor.css │ │ │ ├── bookeditor.js │ │ │ ├── bookeditor.min.css │ │ │ ├── bookeditor.min.js │ │ │ ├── example │ │ │ │ ├── book.html │ │ │ │ ├── common.html │ │ │ │ └── not-full.html │ │ │ ├── gulpfile.js │ │ │ ├── package.json │ │ │ ├── plugins │ │ │ │ ├── bootstrap-treeview │ │ │ │ │ ├── .bowerrc │ │ │ │ │ ├── .gitattributes │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── .jshintrc │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── bootstrap-treeview.js │ │ │ │ │ ├── bootstrap-treeview.min.css │ │ │ │ │ ├── bootstrap-treeview.min.js │ │ │ │ │ └── tests │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── blanket.min.js │ │ │ │ │ │ ├── bootstrap-treeview.css │ │ │ │ │ │ ├── bootstrap-treeview.js │ │ │ │ │ │ ├── jquery.js │ │ │ │ │ │ ├── qunit-1.12.0.css │ │ │ │ │ │ └── qunit-1.12.0.js │ │ │ │ │ │ ├── tests.html │ │ │ │ │ │ └── tests.js │ │ │ │ ├── bootstrap │ │ │ │ │ ├── css │ │ │ │ │ │ ├── bootstrap-theme.css │ │ │ │ │ │ ├── bootstrap-theme.css.map │ │ │ │ │ │ ├── bootstrap-theme.min.css │ │ │ │ │ │ ├── bootstrap-theme.min.css.map │ │ │ │ │ │ ├── bootstrap.css │ │ │ │ │ │ ├── bootstrap.css.map │ │ │ │ │ │ ├── bootstrap.min.css │ │ │ │ │ │ └── bootstrap.min.css.map │ │ │ │ │ ├── fonts │ │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ │ │ └── js │ │ │ │ │ │ ├── bootstrap.js │ │ │ │ │ │ ├── bootstrap.min.js │ │ │ │ │ │ └── npm.js │ │ │ │ ├── codemirror │ │ │ │ │ ├── .gitattributes │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── AUTHORS │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── addon │ │ │ │ │ │ ├── comment │ │ │ │ │ │ │ ├── comment.js │ │ │ │ │ │ │ └── continuecomment.js │ │ │ │ │ │ ├── dialog │ │ │ │ │ │ │ ├── dialog.css │ │ │ │ │ │ │ └── dialog.js │ │ │ │ │ │ ├── display │ │ │ │ │ │ │ ├── autorefresh.js │ │ │ │ │ │ │ ├── fullscreen.css │ │ │ │ │ │ │ ├── fullscreen.js │ │ │ │ │ │ │ ├── panel.js │ │ │ │ │ │ │ ├── placeholder.js │ │ │ │ │ │ │ └── rulers.js │ │ │ │ │ │ ├── edit │ │ │ │ │ │ │ ├── closebrackets.js │ │ │ │ │ │ │ ├── closetag.js │ │ │ │ │ │ │ ├── continuelist.js │ │ │ │ │ │ │ ├── matchbrackets.js │ │ │ │ │ │ │ ├── matchtags.js │ │ │ │ │ │ │ └── trailingspace.js │ │ │ │ │ │ ├── fold │ │ │ │ │ │ │ ├── brace-fold.js │ │ │ │ │ │ │ ├── comment-fold.js │ │ │ │ │ │ │ ├── foldcode.js │ │ │ │ │ │ │ ├── foldgutter.css │ │ │ │ │ │ │ ├── foldgutter.js │ │ │ │ │ │ │ ├── indent-fold.js │ │ │ │ │ │ │ ├── markdown-fold.js │ │ │ │ │ │ │ └── xml-fold.js │ │ │ │ │ │ ├── hint │ │ │ │ │ │ │ ├── anyword-hint.js │ │ │ │ │ │ │ ├── css-hint.js │ │ │ │ │ │ │ ├── html-hint.js │ │ │ │ │ │ │ ├── javascript-hint.js │ │ │ │ │ │ │ ├── show-hint.css │ │ │ │ │ │ │ ├── show-hint.js │ │ │ │ │ │ │ ├── sql-hint.js │ │ │ │ │ │ │ └── xml-hint.js │ │ │ │ │ │ ├── lint │ │ │ │ │ │ │ ├── coffeescript-lint.js │ │ │ │ │ │ │ ├── css-lint.js │ │ │ │ │ │ │ ├── html-lint.js │ │ │ │ │ │ │ ├── javascript-lint.js │ │ │ │ │ │ │ ├── json-lint.js │ │ │ │ │ │ │ ├── lint.css │ │ │ │ │ │ │ ├── lint.js │ │ │ │ │ │ │ └── yaml-lint.js │ │ │ │ │ │ ├── merge │ │ │ │ │ │ │ ├── merge.css │ │ │ │ │ │ │ └── merge.js │ │ │ │ │ │ ├── mode │ │ │ │ │ │ │ ├── loadmode.js │ │ │ │ │ │ │ ├── multiplex.js │ │ │ │ │ │ │ ├── multiplex_test.js │ │ │ │ │ │ │ ├── overlay.js │ │ │ │ │ │ │ └── simple.js │ │ │ │ │ │ ├── runmode │ │ │ │ │ │ │ ├── colorize.js │ │ │ │ │ │ │ ├── runmode-standalone.js │ │ │ │ │ │ │ ├── runmode.js │ │ │ │ │ │ │ └── runmode.node.js │ │ │ │ │ │ ├── scroll │ │ │ │ │ │ │ ├── annotatescrollbar.js │ │ │ │ │ │ │ ├── scrollpastend.js │ │ │ │ │ │ │ ├── simplescrollbars.css │ │ │ │ │ │ │ └── simplescrollbars.js │ │ │ │ │ │ ├── search │ │ │ │ │ │ │ ├── jump-to-line.js │ │ │ │ │ │ │ ├── match-highlighter.js │ │ │ │ │ │ │ ├── matchesonscrollbar.css │ │ │ │ │ │ │ ├── matchesonscrollbar.js │ │ │ │ │ │ │ ├── search.js │ │ │ │ │ │ │ └── searchcursor.js │ │ │ │ │ │ ├── selection │ │ │ │ │ │ │ ├── active-line.js │ │ │ │ │ │ │ ├── mark-selection.js │ │ │ │ │ │ │ └── selection-pointer.js │ │ │ │ │ │ ├── tern │ │ │ │ │ │ │ ├── tern.css │ │ │ │ │ │ │ ├── tern.js │ │ │ │ │ │ │ └── worker.js │ │ │ │ │ │ └── wrap │ │ │ │ │ │ │ └── hardwrap.js │ │ │ │ │ ├── bin │ │ │ │ │ │ ├── authors.sh │ │ │ │ │ │ ├── compress │ │ │ │ │ │ ├── lint │ │ │ │ │ │ ├── release │ │ │ │ │ │ ├── source-highlight │ │ │ │ │ │ └── upload-release.js │ │ │ │ │ ├── bower.json │ │ │ │ │ ├── demo │ │ │ │ │ │ ├── activeline.html │ │ │ │ │ │ ├── anywordhint.html │ │ │ │ │ │ ├── bidi.html │ │ │ │ │ │ ├── btree.html │ │ │ │ │ │ ├── buffers.html │ │ │ │ │ │ ├── changemode.html │ │ │ │ │ │ ├── closebrackets.html │ │ │ │ │ │ ├── closetag.html │ │ │ │ │ │ ├── complete.html │ │ │ │ │ │ ├── emacs.html │ │ │ │ │ │ ├── folding.html │ │ │ │ │ │ ├── fullscreen.html │ │ │ │ │ │ ├── hardwrap.html │ │ │ │ │ │ ├── html5complete.html │ │ │ │ │ │ ├── indentwrap.html │ │ │ │ │ │ ├── lint.html │ │ │ │ │ │ ├── loadmode.html │ │ │ │ │ │ ├── marker.html │ │ │ │ │ │ ├── markselection.html │ │ │ │ │ │ ├── matchhighlighter.html │ │ │ │ │ │ ├── matchtags.html │ │ │ │ │ │ ├── merge.html │ │ │ │ │ │ ├── multiplex.html │ │ │ │ │ │ ├── mustache.html │ │ │ │ │ │ ├── panel.html │ │ │ │ │ │ ├── placeholder.html │ │ │ │ │ │ ├── preview.html │ │ │ │ │ │ ├── requirejs.html │ │ │ │ │ │ ├── resize.html │ │ │ │ │ │ ├── rulers.html │ │ │ │ │ │ ├── runmode.html │ │ │ │ │ │ ├── search.html │ │ │ │ │ │ ├── simplemode.html │ │ │ │ │ │ ├── simplescrollbars.html │ │ │ │ │ │ ├── spanaffectswrapping_shim.html │ │ │ │ │ │ ├── sublime.html │ │ │ │ │ │ ├── tern.html │ │ │ │ │ │ ├── theme.html │ │ │ │ │ │ ├── trailingspace.html │ │ │ │ │ │ ├── variableheight.html │ │ │ │ │ │ ├── vim.html │ │ │ │ │ │ ├── visibletabs.html │ │ │ │ │ │ ├── widget.html │ │ │ │ │ │ └── xmlcomplete.html │ │ │ │ │ ├── doc │ │ │ │ │ │ ├── activebookmark.js │ │ │ │ │ │ ├── compress.html │ │ │ │ │ │ ├── docs.css │ │ │ │ │ │ ├── internals.html │ │ │ │ │ │ ├── logo.png │ │ │ │ │ │ ├── logo.svg │ │ │ │ │ │ ├── manual.html │ │ │ │ │ │ ├── realworld.html │ │ │ │ │ │ ├── releases.html │ │ │ │ │ │ ├── reporting.html │ │ │ │ │ │ ├── upgrade_v2.2.html │ │ │ │ │ │ ├── upgrade_v3.html │ │ │ │ │ │ ├── upgrade_v4.html │ │ │ │ │ │ └── yinyang.png │ │ │ │ │ ├── index.html │ │ │ │ │ ├── keymap │ │ │ │ │ │ ├── emacs.js │ │ │ │ │ │ ├── sublime.js │ │ │ │ │ │ └── vim.js │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── codemirror.css │ │ │ │ │ │ └── codemirror.js │ │ │ │ │ ├── mode │ │ │ │ │ │ ├── apl │ │ │ │ │ │ │ ├── apl.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── asciiarmor │ │ │ │ │ │ │ ├── asciiarmor.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── asn.1 │ │ │ │ │ │ │ ├── asn.1.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── asterisk │ │ │ │ │ │ │ ├── asterisk.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── brainfuck │ │ │ │ │ │ │ ├── brainfuck.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── clike │ │ │ │ │ │ │ ├── clike.js │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── scala.html │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── clojure │ │ │ │ │ │ │ ├── clojure.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── cmake │ │ │ │ │ │ │ ├── cmake.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── cobol │ │ │ │ │ │ │ ├── cobol.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── coffeescript │ │ │ │ │ │ │ ├── coffeescript.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── commonlisp │ │ │ │ │ │ │ ├── commonlisp.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── crystal │ │ │ │ │ │ │ ├── crystal.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── css │ │ │ │ │ │ │ ├── css.js │ │ │ │ │ │ │ ├── gss.html │ │ │ │ │ │ │ ├── gss_test.js │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── less.html │ │ │ │ │ │ │ ├── less_test.js │ │ │ │ │ │ │ ├── scss.html │ │ │ │ │ │ │ ├── scss_test.js │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── cypher │ │ │ │ │ │ │ ├── cypher.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── d │ │ │ │ │ │ │ ├── d.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── dart │ │ │ │ │ │ │ ├── dart.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── diff │ │ │ │ │ │ │ ├── diff.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── django │ │ │ │ │ │ │ ├── django.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── dockerfile │ │ │ │ │ │ │ ├── dockerfile.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── dtd │ │ │ │ │ │ │ ├── dtd.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── dylan │ │ │ │ │ │ │ ├── dylan.js │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── ebnf │ │ │ │ │ │ │ ├── ebnf.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── ecl │ │ │ │ │ │ │ ├── ecl.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── eiffel │ │ │ │ │ │ │ ├── eiffel.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── elm │ │ │ │ │ │ │ ├── elm.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── erlang │ │ │ │ │ │ │ ├── erlang.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── factor │ │ │ │ │ │ │ ├── factor.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── fcl │ │ │ │ │ │ │ ├── fcl.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── forth │ │ │ │ │ │ │ ├── forth.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── fortran │ │ │ │ │ │ │ ├── fortran.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── gas │ │ │ │ │ │ │ ├── gas.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── gfm │ │ │ │ │ │ │ ├── gfm.js │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── gherkin │ │ │ │ │ │ │ ├── gherkin.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── go │ │ │ │ │ │ │ ├── go.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── groovy │ │ │ │ │ │ │ ├── groovy.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── haml │ │ │ │ │ │ │ ├── haml.js │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── handlebars │ │ │ │ │ │ │ ├── handlebars.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── haskell-literate │ │ │ │ │ │ │ ├── haskell-literate.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── haskell │ │ │ │ │ │ │ ├── haskell.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── haxe │ │ │ │ │ │ │ ├── haxe.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── htmlembedded │ │ │ │ │ │ │ ├── htmlembedded.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── htmlmixed │ │ │ │ │ │ │ ├── htmlmixed.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── http │ │ │ │ │ │ │ ├── http.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── idl │ │ │ │ │ │ │ ├── idl.js │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── jade │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── jade.js │ │ │ │ │ │ ├── javascript │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── javascript.js │ │ │ │ │ │ │ ├── json-ld.html │ │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ │ └── typescript.html │ │ │ │ │ │ ├── jinja2 │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── jinja2.js │ │ │ │ │ │ ├── jsx │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── jsx.js │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── julia │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── julia.js │ │ │ │ │ │ ├── livescript │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── livescript.js │ │ │ │ │ │ ├── lua │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── lua.js │ │ │ │ │ │ ├── markdown │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── markdown.js │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── mathematica │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── mathematica.js │ │ │ │ │ │ ├── mbox │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── mbox.js │ │ │ │ │ │ ├── meta.js │ │ │ │ │ │ ├── mirc │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── mirc.js │ │ │ │ │ │ ├── mllike │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── mllike.js │ │ │ │ │ │ ├── modelica │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── modelica.js │ │ │ │ │ │ ├── mscgen │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── mscgen.js │ │ │ │ │ │ │ ├── mscgen_test.js │ │ │ │ │ │ │ ├── msgenny_test.js │ │ │ │ │ │ │ └── xu_test.js │ │ │ │ │ │ ├── mumps │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── mumps.js │ │ │ │ │ │ ├── nginx │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── nginx.js │ │ │ │ │ │ ├── nsis │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── nsis.js │ │ │ │ │ │ ├── ntriples │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── ntriples.js │ │ │ │ │ │ ├── octave │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── octave.js │ │ │ │ │ │ ├── oz │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── oz.js │ │ │ │ │ │ ├── pascal │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── pascal.js │ │ │ │ │ │ ├── pegjs │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── pegjs.js │ │ │ │ │ │ ├── perl │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── perl.js │ │ │ │ │ │ ├── php │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── php.js │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── pig │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── pig.js │ │ │ │ │ │ ├── powershell │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── powershell.js │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── properties │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── properties.js │ │ │ │ │ │ ├── protobuf │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── protobuf.js │ │ │ │ │ │ ├── puppet │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── puppet.js │ │ │ │ │ │ ├── python │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── python.js │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── q │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── q.js │ │ │ │ │ │ ├── r │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── r.js │ │ │ │ │ │ ├── rpm │ │ │ │ │ │ │ ├── changes │ │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── rpm.js │ │ │ │ │ │ ├── rst │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── rst.js │ │ │ │ │ │ ├── ruby │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── ruby.js │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── rust │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── rust.js │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── sas │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── sas.js │ │ │ │ │ │ ├── sass │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── sass.js │ │ │ │ │ │ ├── scheme │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── scheme.js │ │ │ │ │ │ ├── shell │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── shell.js │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── sieve │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── sieve.js │ │ │ │ │ │ ├── slim │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── slim.js │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── smalltalk │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── smalltalk.js │ │ │ │ │ │ ├── smarty │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── smarty.js │ │ │ │ │ │ ├── solr │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── solr.js │ │ │ │ │ │ ├── soy │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── soy.js │ │ │ │ │ │ ├── sparql │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── sparql.js │ │ │ │ │ │ ├── spreadsheet │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── spreadsheet.js │ │ │ │ │ │ ├── sql │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── sql.js │ │ │ │ │ │ ├── stex │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── stex.js │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── stylus │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── stylus.js │ │ │ │ │ │ ├── swift │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── swift.js │ │ │ │ │ │ ├── tcl │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── tcl.js │ │ │ │ │ │ ├── textile │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ │ └── textile.js │ │ │ │ │ │ ├── tiddlywiki │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── tiddlywiki.css │ │ │ │ │ │ │ └── tiddlywiki.js │ │ │ │ │ │ ├── tiki │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── tiki.css │ │ │ │ │ │ │ └── tiki.js │ │ │ │ │ │ ├── toml │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── toml.js │ │ │ │ │ │ ├── tornado │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── tornado.js │ │ │ │ │ │ ├── troff │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── troff.js │ │ │ │ │ │ ├── ttcn-cfg │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── ttcn-cfg.js │ │ │ │ │ │ ├── ttcn │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── ttcn.js │ │ │ │ │ │ ├── turtle │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── turtle.js │ │ │ │ │ │ ├── twig │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── twig.js │ │ │ │ │ │ ├── vb │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── vb.js │ │ │ │ │ │ ├── vbscript │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── vbscript.js │ │ │ │ │ │ ├── velocity │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── velocity.js │ │ │ │ │ │ ├── verilog │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ │ └── verilog.js │ │ │ │ │ │ ├── vhdl │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── vhdl.js │ │ │ │ │ │ ├── vue │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── vue.js │ │ │ │ │ │ ├── webidl │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── webidl.js │ │ │ │ │ │ ├── xml │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ │ └── xml.js │ │ │ │ │ │ ├── xquery │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ │ └── xquery.js │ │ │ │ │ │ ├── yacas │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── yacas.js │ │ │ │ │ │ ├── yaml-frontmatter │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── yaml-frontmatter.js │ │ │ │ │ │ ├── yaml │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── yaml.js │ │ │ │ │ │ └── z80 │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ └── z80.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── test │ │ │ │ │ │ ├── comment_test.js │ │ │ │ │ │ ├── doc_test.js │ │ │ │ │ │ ├── driver.js │ │ │ │ │ │ ├── emacs_test.js │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── lint.js │ │ │ │ │ │ ├── mode_test.css │ │ │ │ │ │ ├── mode_test.js │ │ │ │ │ │ ├── multi_test.js │ │ │ │ │ │ ├── phantom_driver.js │ │ │ │ │ │ ├── run.js │ │ │ │ │ │ ├── scroll_test.js │ │ │ │ │ │ ├── search_test.js │ │ │ │ │ │ ├── sql-hint-test.js │ │ │ │ │ │ ├── sublime_test.js │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ └── vim_test.js │ │ │ │ │ └── theme │ │ │ │ │ │ ├── 3024-day.css │ │ │ │ │ │ ├── 3024-night.css │ │ │ │ │ │ ├── abcdef.css │ │ │ │ │ │ ├── ambiance-mobile.css │ │ │ │ │ │ ├── ambiance.css │ │ │ │ │ │ ├── base16-dark.css │ │ │ │ │ │ ├── base16-light.css │ │ │ │ │ │ ├── bespin.css │ │ │ │ │ │ ├── blackboard.css │ │ │ │ │ │ ├── cobalt.css │ │ │ │ │ │ ├── colorforth.css │ │ │ │ │ │ ├── dracula.css │ │ │ │ │ │ ├── eclipse.css │ │ │ │ │ │ ├── elegant.css │ │ │ │ │ │ ├── erlang-dark.css │ │ │ │ │ │ ├── hopscotch.css │ │ │ │ │ │ ├── icecoder.css │ │ │ │ │ │ ├── isotope.css │ │ │ │ │ │ ├── lesser-dark.css │ │ │ │ │ │ ├── liquibyte.css │ │ │ │ │ │ ├── material.css │ │ │ │ │ │ ├── mbo.css │ │ │ │ │ │ ├── mdn-like.css │ │ │ │ │ │ ├── midnight.css │ │ │ │ │ │ ├── monokai.css │ │ │ │ │ │ ├── neat.css │ │ │ │ │ │ ├── neo.css │ │ │ │ │ │ ├── night.css │ │ │ │ │ │ ├── paraiso-dark.css │ │ │ │ │ │ ├── paraiso-light.css │ │ │ │ │ │ ├── pastel-on-dark.css │ │ │ │ │ │ ├── railscasts.css │ │ │ │ │ │ ├── rubyblue.css │ │ │ │ │ │ ├── seti.css │ │ │ │ │ │ ├── solarized.css │ │ │ │ │ │ ├── the-matrix.css │ │ │ │ │ │ ├── tomorrow-night-bright.css │ │ │ │ │ │ ├── tomorrow-night-eighties.css │ │ │ │ │ │ ├── ttcn.css │ │ │ │ │ │ ├── twilight.css │ │ │ │ │ │ ├── vibrant-ink.css │ │ │ │ │ │ ├── xq-dark.css │ │ │ │ │ │ ├── xq-light.css │ │ │ │ │ │ ├── yeti.css │ │ │ │ │ │ └── zenburn.css │ │ │ │ ├── font-awesome │ │ │ │ │ ├── HELP-US-OUT.txt │ │ │ │ │ ├── css │ │ │ │ │ │ ├── font-awesome.css │ │ │ │ │ │ └── font-awesome.min.css │ │ │ │ │ ├── fonts │ │ │ │ │ │ ├── FontAwesome.otf │ │ │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ │ │ ├── less │ │ │ │ │ │ ├── animated.less │ │ │ │ │ │ ├── bordered-pulled.less │ │ │ │ │ │ ├── core.less │ │ │ │ │ │ ├── fixed-width.less │ │ │ │ │ │ ├── font-awesome.less │ │ │ │ │ │ ├── icons.less │ │ │ │ │ │ ├── larger.less │ │ │ │ │ │ ├── list.less │ │ │ │ │ │ ├── mixins.less │ │ │ │ │ │ ├── path.less │ │ │ │ │ │ ├── rotated-flipped.less │ │ │ │ │ │ ├── screen-reader.less │ │ │ │ │ │ ├── stacked.less │ │ │ │ │ │ └── variables.less │ │ │ │ │ └── scss │ │ │ │ │ │ ├── _animated.scss │ │ │ │ │ │ ├── _bordered-pulled.scss │ │ │ │ │ │ ├── _core.scss │ │ │ │ │ │ ├── _fixed-width.scss │ │ │ │ │ │ ├── _icons.scss │ │ │ │ │ │ ├── _larger.scss │ │ │ │ │ │ ├── _list.scss │ │ │ │ │ │ ├── _mixins.scss │ │ │ │ │ │ ├── _path.scss │ │ │ │ │ │ ├── _rotated-flipped.scss │ │ │ │ │ │ ├── _screen-reader.scss │ │ │ │ │ │ ├── _stacked.scss │ │ │ │ │ │ ├── _variables.scss │ │ │ │ │ │ └── font-awesome.scss │ │ │ │ ├── jquery.min.js │ │ │ │ ├── katex │ │ │ │ │ ├── README.md │ │ │ │ │ ├── contrib │ │ │ │ │ │ └── auto-render.min.js │ │ │ │ │ ├── fonts │ │ │ │ │ │ ├── KaTeX_AMS-Regular.eot │ │ │ │ │ │ ├── KaTeX_AMS-Regular.ttf │ │ │ │ │ │ ├── KaTeX_AMS-Regular.woff │ │ │ │ │ │ ├── KaTeX_AMS-Regular.woff2 │ │ │ │ │ │ ├── KaTeX_Caligraphic-Bold.eot │ │ │ │ │ │ ├── KaTeX_Caligraphic-Bold.ttf │ │ │ │ │ │ ├── KaTeX_Caligraphic-Bold.woff │ │ │ │ │ │ ├── KaTeX_Caligraphic-Bold.woff2 │ │ │ │ │ │ ├── KaTeX_Caligraphic-Regular.eot │ │ │ │ │ │ ├── KaTeX_Caligraphic-Regular.ttf │ │ │ │ │ │ ├── KaTeX_Caligraphic-Regular.woff │ │ │ │ │ │ ├── KaTeX_Caligraphic-Regular.woff2 │ │ │ │ │ │ ├── KaTeX_Fraktur-Bold.eot │ │ │ │ │ │ ├── KaTeX_Fraktur-Bold.ttf │ │ │ │ │ │ ├── KaTeX_Fraktur-Bold.woff │ │ │ │ │ │ ├── KaTeX_Fraktur-Bold.woff2 │ │ │ │ │ │ ├── KaTeX_Fraktur-Regular.eot │ │ │ │ │ │ ├── KaTeX_Fraktur-Regular.ttf │ │ │ │ │ │ ├── KaTeX_Fraktur-Regular.woff │ │ │ │ │ │ ├── KaTeX_Fraktur-Regular.woff2 │ │ │ │ │ │ ├── KaTeX_Main-Bold.eot │ │ │ │ │ │ ├── KaTeX_Main-Bold.ttf │ │ │ │ │ │ ├── KaTeX_Main-Bold.woff │ │ │ │ │ │ ├── KaTeX_Main-Bold.woff2 │ │ │ │ │ │ ├── KaTeX_Main-Italic.eot │ │ │ │ │ │ ├── KaTeX_Main-Italic.ttf │ │ │ │ │ │ ├── KaTeX_Main-Italic.woff │ │ │ │ │ │ ├── KaTeX_Main-Italic.woff2 │ │ │ │ │ │ ├── KaTeX_Main-Regular.eot │ │ │ │ │ │ ├── KaTeX_Main-Regular.ttf │ │ │ │ │ │ ├── KaTeX_Main-Regular.woff │ │ │ │ │ │ ├── KaTeX_Main-Regular.woff2 │ │ │ │ │ │ ├── KaTeX_Math-BoldItalic.eot │ │ │ │ │ │ ├── KaTeX_Math-BoldItalic.ttf │ │ │ │ │ │ ├── KaTeX_Math-BoldItalic.woff │ │ │ │ │ │ ├── KaTeX_Math-BoldItalic.woff2 │ │ │ │ │ │ ├── KaTeX_Math-Italic.eot │ │ │ │ │ │ ├── KaTeX_Math-Italic.ttf │ │ │ │ │ │ ├── KaTeX_Math-Italic.woff │ │ │ │ │ │ ├── KaTeX_Math-Italic.woff2 │ │ │ │ │ │ ├── KaTeX_Math-Regular.eot │ │ │ │ │ │ ├── KaTeX_Math-Regular.ttf │ │ │ │ │ │ ├── KaTeX_Math-Regular.woff │ │ │ │ │ │ ├── KaTeX_Math-Regular.woff2 │ │ │ │ │ │ ├── KaTeX_SansSerif-Bold.eot │ │ │ │ │ │ ├── KaTeX_SansSerif-Bold.ttf │ │ │ │ │ │ ├── KaTeX_SansSerif-Bold.woff │ │ │ │ │ │ ├── KaTeX_SansSerif-Bold.woff2 │ │ │ │ │ │ ├── KaTeX_SansSerif-Italic.eot │ │ │ │ │ │ ├── KaTeX_SansSerif-Italic.ttf │ │ │ │ │ │ ├── KaTeX_SansSerif-Italic.woff │ │ │ │ │ │ ├── KaTeX_SansSerif-Italic.woff2 │ │ │ │ │ │ ├── KaTeX_SansSerif-Regular.eot │ │ │ │ │ │ ├── KaTeX_SansSerif-Regular.ttf │ │ │ │ │ │ ├── KaTeX_SansSerif-Regular.woff │ │ │ │ │ │ ├── KaTeX_SansSerif-Regular.woff2 │ │ │ │ │ │ ├── KaTeX_Script-Regular.eot │ │ │ │ │ │ ├── KaTeX_Script-Regular.ttf │ │ │ │ │ │ ├── KaTeX_Script-Regular.woff │ │ │ │ │ │ ├── KaTeX_Script-Regular.woff2 │ │ │ │ │ │ ├── KaTeX_Size1-Regular.eot │ │ │ │ │ │ ├── KaTeX_Size1-Regular.ttf │ │ │ │ │ │ ├── KaTeX_Size1-Regular.woff │ │ │ │ │ │ ├── KaTeX_Size1-Regular.woff2 │ │ │ │ │ │ ├── KaTeX_Size2-Regular.eot │ │ │ │ │ │ ├── KaTeX_Size2-Regular.ttf │ │ │ │ │ │ ├── KaTeX_Size2-Regular.woff │ │ │ │ │ │ ├── KaTeX_Size2-Regular.woff2 │ │ │ │ │ │ ├── KaTeX_Size3-Regular.eot │ │ │ │ │ │ ├── KaTeX_Size3-Regular.ttf │ │ │ │ │ │ ├── KaTeX_Size3-Regular.woff │ │ │ │ │ │ ├── KaTeX_Size3-Regular.woff2 │ │ │ │ │ │ ├── KaTeX_Size4-Regular.eot │ │ │ │ │ │ ├── KaTeX_Size4-Regular.ttf │ │ │ │ │ │ ├── KaTeX_Size4-Regular.woff │ │ │ │ │ │ ├── KaTeX_Size4-Regular.woff2 │ │ │ │ │ │ ├── KaTeX_Typewriter-Regular.eot │ │ │ │ │ │ ├── KaTeX_Typewriter-Regular.ttf │ │ │ │ │ │ ├── KaTeX_Typewriter-Regular.woff │ │ │ │ │ │ └── KaTeX_Typewriter-Regular.woff2 │ │ │ │ │ ├── katex.css │ │ │ │ │ ├── katex.js │ │ │ │ │ ├── katex.min.css │ │ │ │ │ └── katex.min.js │ │ │ │ ├── marked │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── Gulpfile.js │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bin │ │ │ │ │ │ └── marked │ │ │ │ │ ├── bower.json │ │ │ │ │ ├── component.json │ │ │ │ │ ├── doc │ │ │ │ │ │ ├── broken.md │ │ │ │ │ │ └── todo.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── lib │ │ │ │ │ │ └── marked.js │ │ │ │ │ ├── man │ │ │ │ │ │ └── marked.1 │ │ │ │ │ ├── marked.js │ │ │ │ │ ├── marked.min.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ ├── README │ │ │ │ │ │ ├── browser │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── new │ │ │ │ │ │ ├── autolink_lines.html │ │ │ │ │ │ ├── autolink_lines.text │ │ │ │ │ │ ├── blockquote_list_item.html │ │ │ │ │ │ ├── blockquote_list_item.text │ │ │ │ │ │ ├── case_insensitive_refs.html │ │ │ │ │ │ ├── case_insensitive_refs.text │ │ │ │ │ │ ├── def_blocks.html │ │ │ │ │ │ ├── def_blocks.text │ │ │ │ │ │ ├── double_link.html │ │ │ │ │ │ ├── double_link.text │ │ │ │ │ │ ├── escaped_angles.html │ │ │ │ │ │ ├── escaped_angles.text │ │ │ │ │ │ ├── gfm_break.breaks.html │ │ │ │ │ │ ├── gfm_break.breaks.text │ │ │ │ │ │ ├── gfm_code.html │ │ │ │ │ │ ├── gfm_code.text │ │ │ │ │ │ ├── gfm_code_hr_list.html │ │ │ │ │ │ ├── gfm_code_hr_list.text │ │ │ │ │ │ ├── gfm_del.html │ │ │ │ │ │ ├── gfm_del.text │ │ │ │ │ │ ├── gfm_em.html │ │ │ │ │ │ ├── gfm_em.text │ │ │ │ │ │ ├── gfm_hashtag.gfm.html │ │ │ │ │ │ ├── gfm_hashtag.gfm.text │ │ │ │ │ │ ├── gfm_hashtag.nogfm.html │ │ │ │ │ │ ├── gfm_hashtag.nogfm.text │ │ │ │ │ │ ├── gfm_links.html │ │ │ │ │ │ ├── gfm_links.text │ │ │ │ │ │ ├── gfm_tables.html │ │ │ │ │ │ ├── gfm_tables.text │ │ │ │ │ │ ├── hr_list_break.html │ │ │ │ │ │ ├── hr_list_break.text │ │ │ │ │ │ ├── lazy_blockquotes.html │ │ │ │ │ │ ├── lazy_blockquotes.text │ │ │ │ │ │ ├── list_item_text.html │ │ │ │ │ │ ├── list_item_text.text │ │ │ │ │ │ ├── loose_lists.html │ │ │ │ │ │ ├── loose_lists.text │ │ │ │ │ │ ├── main.html │ │ │ │ │ │ ├── main.text │ │ │ │ │ │ ├── nested_code.html │ │ │ │ │ │ ├── nested_code.text │ │ │ │ │ │ ├── nested_em.html │ │ │ │ │ │ ├── nested_em.text │ │ │ │ │ │ ├── nested_square_link.html │ │ │ │ │ │ ├── nested_square_link.text │ │ │ │ │ │ ├── not_a_link.html │ │ │ │ │ │ ├── not_a_link.text │ │ │ │ │ │ ├── ref_paren.html │ │ │ │ │ │ ├── ref_paren.text │ │ │ │ │ │ ├── same_bullet.html │ │ │ │ │ │ ├── same_bullet.text │ │ │ │ │ │ ├── text.smartypants.html │ │ │ │ │ │ ├── text.smartypants.text │ │ │ │ │ │ ├── toplevel_paragraphs.gfm.html │ │ │ │ │ │ ├── toplevel_paragraphs.gfm.text │ │ │ │ │ │ ├── tricky_list.html │ │ │ │ │ │ └── tricky_list.text │ │ │ │ │ │ ├── original │ │ │ │ │ │ ├── amps_and_angles_encoding.html │ │ │ │ │ │ ├── amps_and_angles_encoding.text │ │ │ │ │ │ ├── auto_links.html │ │ │ │ │ │ ├── auto_links.text │ │ │ │ │ │ ├── backslash_escapes.html │ │ │ │ │ │ ├── backslash_escapes.text │ │ │ │ │ │ ├── blockquotes_with_code_blocks.html │ │ │ │ │ │ ├── blockquotes_with_code_blocks.text │ │ │ │ │ │ ├── code_blocks.html │ │ │ │ │ │ ├── code_blocks.text │ │ │ │ │ │ ├── code_spans.html │ │ │ │ │ │ ├── code_spans.text │ │ │ │ │ │ ├── hard_wrapped_paragraphs_with_list_like_lines.html │ │ │ │ │ │ ├── hard_wrapped_paragraphs_with_list_like_lines.text │ │ │ │ │ │ ├── horizontal_rules.html │ │ │ │ │ │ ├── horizontal_rules.text │ │ │ │ │ │ ├── inline_html_advanced.html │ │ │ │ │ │ ├── inline_html_advanced.text │ │ │ │ │ │ ├── inline_html_comments.html │ │ │ │ │ │ ├── inline_html_comments.text │ │ │ │ │ │ ├── inline_html_simple.html │ │ │ │ │ │ ├── inline_html_simple.text │ │ │ │ │ │ ├── links_inline_style.html │ │ │ │ │ │ ├── links_inline_style.text │ │ │ │ │ │ ├── links_reference_style.html │ │ │ │ │ │ ├── links_reference_style.text │ │ │ │ │ │ ├── links_shortcut_references.html │ │ │ │ │ │ ├── links_shortcut_references.text │ │ │ │ │ │ ├── literal_quotes_in_titles.html │ │ │ │ │ │ ├── literal_quotes_in_titles.text │ │ │ │ │ │ ├── markdown_documentation_basics.html │ │ │ │ │ │ ├── markdown_documentation_basics.text │ │ │ │ │ │ ├── markdown_documentation_syntax.html │ │ │ │ │ │ ├── markdown_documentation_syntax.text │ │ │ │ │ │ ├── nested_blockquotes.html │ │ │ │ │ │ ├── nested_blockquotes.text │ │ │ │ │ │ ├── ordered_and_unordered_lists.html │ │ │ │ │ │ ├── ordered_and_unordered_lists.text │ │ │ │ │ │ ├── strong_and_em_together.html │ │ │ │ │ │ ├── strong_and_em_together.text │ │ │ │ │ │ ├── tabs.html │ │ │ │ │ │ ├── tabs.text │ │ │ │ │ │ ├── tidyness.html │ │ │ │ │ │ └── tidyness.text │ │ │ │ │ │ └── tests │ │ │ │ │ │ ├── amps_and_angles_encoding.html │ │ │ │ │ │ ├── amps_and_angles_encoding.text │ │ │ │ │ │ ├── auto_links.html │ │ │ │ │ │ ├── auto_links.text │ │ │ │ │ │ ├── autolink_lines.html │ │ │ │ │ │ ├── autolink_lines.text │ │ │ │ │ │ ├── backslash_escapes.html │ │ │ │ │ │ ├── backslash_escapes.text │ │ │ │ │ │ ├── blockquote_list_item.html │ │ │ │ │ │ ├── blockquote_list_item.text │ │ │ │ │ │ ├── blockquotes_with_code_blocks.html │ │ │ │ │ │ ├── blockquotes_with_code_blocks.text │ │ │ │ │ │ ├── case_insensitive_refs.html │ │ │ │ │ │ ├── case_insensitive_refs.text │ │ │ │ │ │ ├── code_blocks.html │ │ │ │ │ │ ├── code_blocks.text │ │ │ │ │ │ ├── code_spans.html │ │ │ │ │ │ ├── code_spans.text │ │ │ │ │ │ ├── def_blocks.html │ │ │ │ │ │ ├── def_blocks.text │ │ │ │ │ │ ├── double_link.html │ │ │ │ │ │ ├── double_link.text │ │ │ │ │ │ ├── escaped_angles.html │ │ │ │ │ │ ├── escaped_angles.text │ │ │ │ │ │ ├── gfm_break.breaks.html │ │ │ │ │ │ ├── gfm_break.breaks.text │ │ │ │ │ │ ├── gfm_code.html │ │ │ │ │ │ ├── gfm_code.text │ │ │ │ │ │ ├── gfm_code_hr_list.html │ │ │ │ │ │ ├── gfm_code_hr_list.text │ │ │ │ │ │ ├── gfm_del.html │ │ │ │ │ │ ├── gfm_del.text │ │ │ │ │ │ ├── gfm_em.html │ │ │ │ │ │ ├── gfm_em.text │ │ │ │ │ │ ├── gfm_hashtag.gfm.html │ │ │ │ │ │ ├── gfm_hashtag.gfm.text │ │ │ │ │ │ ├── gfm_hashtag.nogfm.html │ │ │ │ │ │ ├── gfm_hashtag.nogfm.text │ │ │ │ │ │ ├── gfm_links.html │ │ │ │ │ │ ├── gfm_links.text │ │ │ │ │ │ ├── gfm_tables.html │ │ │ │ │ │ ├── gfm_tables.text │ │ │ │ │ │ ├── hard_wrapped_paragraphs_with_list_like_lines.nogfm.html │ │ │ │ │ │ ├── hard_wrapped_paragraphs_with_list_like_lines.nogfm.text │ │ │ │ │ │ ├── horizontal_rules.html │ │ │ │ │ │ ├── horizontal_rules.text │ │ │ │ │ │ ├── hr_list_break.html │ │ │ │ │ │ ├── hr_list_break.text │ │ │ │ │ │ ├── inline_html_advanced.html │ │ │ │ │ │ ├── inline_html_advanced.text │ │ │ │ │ │ ├── inline_html_comments.html │ │ │ │ │ │ ├── inline_html_comments.text │ │ │ │ │ │ ├── inline_html_simple.html │ │ │ │ │ │ ├── inline_html_simple.text │ │ │ │ │ │ ├── lazy_blockquotes.html │ │ │ │ │ │ ├── lazy_blockquotes.text │ │ │ │ │ │ ├── links_inline_style.html │ │ │ │ │ │ ├── links_inline_style.text │ │ │ │ │ │ ├── links_reference_style.html │ │ │ │ │ │ ├── links_reference_style.text │ │ │ │ │ │ ├── links_shortcut_references.html │ │ │ │ │ │ ├── links_shortcut_references.text │ │ │ │ │ │ ├── list_item_text.html │ │ │ │ │ │ ├── list_item_text.text │ │ │ │ │ │ ├── literal_quotes_in_titles.html │ │ │ │ │ │ ├── literal_quotes_in_titles.text │ │ │ │ │ │ ├── loose_lists.html │ │ │ │ │ │ ├── loose_lists.text │ │ │ │ │ │ ├── main.html │ │ │ │ │ │ ├── main.text │ │ │ │ │ │ ├── markdown_documentation_basics.html │ │ │ │ │ │ ├── markdown_documentation_basics.text │ │ │ │ │ │ ├── markdown_documentation_syntax.html │ │ │ │ │ │ ├── markdown_documentation_syntax.text │ │ │ │ │ │ ├── nested_blockquotes.html │ │ │ │ │ │ ├── nested_blockquotes.text │ │ │ │ │ │ ├── nested_code.html │ │ │ │ │ │ ├── nested_code.text │ │ │ │ │ │ ├── nested_em.html │ │ │ │ │ │ ├── nested_em.text │ │ │ │ │ │ ├── nested_square_link.html │ │ │ │ │ │ ├── nested_square_link.text │ │ │ │ │ │ ├── not_a_link.html │ │ │ │ │ │ ├── not_a_link.text │ │ │ │ │ │ ├── ordered_and_unordered_lists.html │ │ │ │ │ │ ├── ordered_and_unordered_lists.text │ │ │ │ │ │ ├── ref_paren.html │ │ │ │ │ │ ├── ref_paren.text │ │ │ │ │ │ ├── same_bullet.html │ │ │ │ │ │ ├── same_bullet.text │ │ │ │ │ │ ├── strong_and_em_together.html │ │ │ │ │ │ ├── strong_and_em_together.text │ │ │ │ │ │ ├── tabs.html │ │ │ │ │ │ ├── tabs.text │ │ │ │ │ │ ├── text.smartypants.html │ │ │ │ │ │ ├── text.smartypants.text │ │ │ │ │ │ ├── tidyness.html │ │ │ │ │ │ ├── tidyness.text │ │ │ │ │ │ ├── toplevel_paragraphs.gfm.html │ │ │ │ │ │ ├── toplevel_paragraphs.gfm.text │ │ │ │ │ │ ├── tricky_list.html │ │ │ │ │ │ └── tricky_list.text │ │ │ │ ├── mousetrap │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── Gruntfile.js │ │ │ │ │ ├── README.md │ │ │ │ │ ├── mousetrap.js │ │ │ │ │ ├── mousetrap.min.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── plugins │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── bind-dictionary │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── mousetrap-bind-dictionary.js │ │ │ │ │ │ │ └── mousetrap-bind-dictionary.min.js │ │ │ │ │ │ ├── global-bind │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── mousetrap-global-bind.js │ │ │ │ │ │ │ └── mousetrap-global-bind.min.js │ │ │ │ │ │ ├── pause │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── mousetrap-pause.js │ │ │ │ │ │ │ └── mousetrap-pause.min.js │ │ │ │ │ │ └── record │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── mousetrap-record.js │ │ │ │ │ │ │ ├── mousetrap-record.min.js │ │ │ │ │ │ │ └── tests │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── jelly.css │ │ │ │ │ │ │ └── jelly.js │ │ │ │ │ └── tests │ │ │ │ │ │ ├── libs │ │ │ │ │ │ ├── chai-1.6.0.js │ │ │ │ │ │ ├── jquery-1.7.2.min.js │ │ │ │ │ │ ├── key-event.js │ │ │ │ │ │ ├── mocha-1.9.0.css │ │ │ │ │ │ ├── mocha-1.9.0.js │ │ │ │ │ │ ├── sinon-1.7.1.js │ │ │ │ │ │ ├── sinon-chai-2.4.0.js │ │ │ │ │ │ └── sinon-ie-1.7.1.js │ │ │ │ │ │ ├── mousetrap.html │ │ │ │ │ │ └── test.mousetrap.js │ │ │ │ ├── prettify.min.js │ │ │ │ └── sortable │ │ │ │ │ ├── .editorconfig │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── .jshintrc │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ ├── Gruntfile.js │ │ │ │ │ ├── README.md │ │ │ │ │ ├── Sortable.html │ │ │ │ │ ├── Sortable.js │ │ │ │ │ ├── Sortable.min.js │ │ │ │ │ ├── bower.json │ │ │ │ │ ├── component.json │ │ │ │ │ ├── index.html │ │ │ │ │ ├── jquery.binding.js │ │ │ │ │ ├── knockout-sortable.js │ │ │ │ │ ├── meteor │ │ │ │ │ ├── .versions │ │ │ │ │ ├── README.md │ │ │ │ │ ├── example │ │ │ │ │ │ ├── .meteor │ │ │ │ │ │ │ ├── .finished-upgraders │ │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ │ ├── .id │ │ │ │ │ │ │ ├── packages │ │ │ │ │ │ │ ├── platforms │ │ │ │ │ │ │ ├── release │ │ │ │ │ │ │ └── versions │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── client │ │ │ │ │ │ │ ├── define-object-type.css │ │ │ │ │ │ │ ├── define-object-type.html │ │ │ │ │ │ │ └── define-object-type.js │ │ │ │ │ │ ├── model.js │ │ │ │ │ │ ├── run.bat │ │ │ │ │ │ ├── run.sh │ │ │ │ │ │ └── server │ │ │ │ │ │ │ ├── fixtures.js │ │ │ │ │ │ │ └── sortable-collections.js │ │ │ │ │ ├── methods-client.js │ │ │ │ │ ├── methods-server.js │ │ │ │ │ ├── package.js │ │ │ │ │ ├── publish.sh │ │ │ │ │ ├── reactivize.js │ │ │ │ │ ├── runtests.bat │ │ │ │ │ ├── runtests.sh │ │ │ │ │ ├── template.html │ │ │ │ │ └── test.js │ │ │ │ │ ├── ng-sortable.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── react-sortable-mixin.js │ │ │ │ │ └── st │ │ │ │ │ ├── app.css │ │ │ │ │ ├── app.js │ │ │ │ │ ├── face-01.jpg │ │ │ │ │ ├── face-02.jpg │ │ │ │ │ ├── face-03.jpg │ │ │ │ │ ├── face-04.jpg │ │ │ │ │ ├── face-05.jpg │ │ │ │ │ ├── face-06.jpg │ │ │ │ │ ├── face-07.jpg │ │ │ │ │ ├── face-08.jpg │ │ │ │ │ ├── face-09.jpg │ │ │ │ │ ├── iframe │ │ │ │ │ ├── frame.html │ │ │ │ │ └── index.html │ │ │ │ │ ├── logo.png │ │ │ │ │ └── og-image.png │ │ │ └── src │ │ │ │ ├── bookeditor.js │ │ │ │ ├── bookeditor.scss │ │ │ │ └── html.scss │ │ ├── bootstrap │ │ │ ├── css │ │ │ │ ├── bootstrap-theme.css │ │ │ │ ├── bootstrap-theme.css.map │ │ │ │ ├── bootstrap-theme.min.css │ │ │ │ ├── bootstrap-theme.min.css.map │ │ │ │ ├── bootstrap.css │ │ │ │ ├── bootstrap.css.map │ │ │ │ ├── bootstrap.min.css │ │ │ │ └── bootstrap.min.css.map │ │ │ ├── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ └── js │ │ │ │ ├── bootstrap.js │ │ │ │ ├── bootstrap.min.js │ │ │ │ └── npm.js │ │ ├── cropit │ │ │ ├── .gitignore │ │ │ ├── .jshintrc │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bower.json │ │ │ ├── cropit.jquery.json │ │ │ ├── demo │ │ │ │ ├── basic.html │ │ │ │ ├── form.html │ │ │ │ ├── image-background.html │ │ │ │ └── pica.html │ │ │ ├── dist │ │ │ │ └── jquery.cropit.js │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── constants.js │ │ │ │ ├── cropit.js │ │ │ │ ├── options.js │ │ │ │ ├── plugin.js │ │ │ │ ├── utils.js │ │ │ │ └── zoomer.js │ │ │ ├── test │ │ │ │ ├── cropit.spec.js │ │ │ │ ├── cropit_view.spec.js │ │ │ │ ├── fixtures │ │ │ │ │ ├── basic.html │ │ │ │ │ └── image-background.html │ │ │ │ └── zoomer.spec.js │ │ │ ├── update_version.js │ │ │ └── webpack.config.js │ │ ├── font-awesome │ │ │ ├── HELP-US-OUT.txt │ │ │ ├── css │ │ │ │ ├── font-awesome.css │ │ │ │ └── font-awesome.min.css │ │ │ ├── fonts │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ ├── less │ │ │ │ ├── animated.less │ │ │ │ ├── bordered-pulled.less │ │ │ │ ├── core.less │ │ │ │ ├── fixed-width.less │ │ │ │ ├── font-awesome.less │ │ │ │ ├── icons.less │ │ │ │ ├── larger.less │ │ │ │ ├── list.less │ │ │ │ ├── mixins.less │ │ │ │ ├── path.less │ │ │ │ ├── rotated-flipped.less │ │ │ │ ├── screen-reader.less │ │ │ │ ├── stacked.less │ │ │ │ └── variables.less │ │ │ └── scss │ │ │ │ ├── _animated.scss │ │ │ │ ├── _bordered-pulled.scss │ │ │ │ ├── _core.scss │ │ │ │ ├── _fixed-width.scss │ │ │ │ ├── _icons.scss │ │ │ │ ├── _larger.scss │ │ │ │ ├── _list.scss │ │ │ │ ├── _mixins.scss │ │ │ │ ├── _path.scss │ │ │ │ ├── _rotated-flipped.scss │ │ │ │ ├── _screen-reader.scss │ │ │ │ ├── _stacked.scss │ │ │ │ ├── _variables.scss │ │ │ │ └── font-awesome.scss │ │ ├── googlediff-master │ │ │ ├── README │ │ │ ├── demos │ │ │ │ ├── demo_diff.html │ │ │ │ ├── demo_match.html │ │ │ │ └── demo_patch.html │ │ │ ├── index.js │ │ │ ├── javascript │ │ │ │ ├── diff_match_patch.js │ │ │ │ ├── diff_match_patch_test.html │ │ │ │ ├── diff_match_patch_test.js │ │ │ │ └── diff_match_patch_uncompressed.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── jquery-file-upload │ │ │ ├── .gitignore │ │ │ ├── .jshintrc │ │ │ ├── CONTRIBUTING.md │ │ │ ├── Gruntfile.js │ │ │ ├── README.md │ │ │ ├── angularjs.html │ │ │ ├── basic-plus.html │ │ │ ├── basic.html │ │ │ ├── bower.json │ │ │ ├── cors │ │ │ │ ├── postmessage.html │ │ │ │ └── result.html │ │ │ ├── css │ │ │ │ ├── demo-ie8.css │ │ │ │ ├── demo.css │ │ │ │ ├── jquery.fileupload-noscript.css │ │ │ │ ├── jquery.fileupload-ui-noscript.css │ │ │ │ ├── jquery.fileupload-ui.css │ │ │ │ ├── jquery.fileupload.css │ │ │ │ └── style.css │ │ │ ├── img │ │ │ │ ├── loading.gif │ │ │ │ └── progressbar.gif │ │ │ ├── index.html │ │ │ ├── jquery-ui.html │ │ │ ├── js │ │ │ │ ├── app.js │ │ │ │ ├── cors │ │ │ │ │ ├── jquery.postmessage-transport.js │ │ │ │ │ └── jquery.xdr-transport.js │ │ │ │ ├── jquery.fileupload-angular.js │ │ │ │ ├── jquery.fileupload-audio.js │ │ │ │ ├── jquery.fileupload-image.js │ │ │ │ ├── jquery.fileupload-jquery-ui.js │ │ │ │ ├── jquery.fileupload-process.js │ │ │ │ ├── jquery.fileupload-ui.js │ │ │ │ ├── jquery.fileupload-validate.js │ │ │ │ ├── jquery.fileupload-video.js │ │ │ │ ├── jquery.fileupload.js │ │ │ │ ├── jquery.iframe-transport.js │ │ │ │ ├── main.js │ │ │ │ └── vendor │ │ │ │ │ └── jquery.ui.widget.js │ │ │ ├── package.json │ │ │ ├── server │ │ │ │ ├── gae-go │ │ │ │ │ ├── app.yaml │ │ │ │ │ ├── app │ │ │ │ │ │ └── main.go │ │ │ │ │ └── static │ │ │ │ │ │ ├── favicon.ico │ │ │ │ │ │ └── robots.txt │ │ │ │ ├── gae-python │ │ │ │ │ ├── app.yaml │ │ │ │ │ ├── main.py │ │ │ │ │ └── static │ │ │ │ │ │ ├── favicon.ico │ │ │ │ │ │ └── robots.txt │ │ │ │ └── php │ │ │ │ │ ├── UploadHandler.php │ │ │ │ │ ├── files │ │ │ │ │ ├── .gitignore │ │ │ │ │ └── .htaccess │ │ │ │ │ └── index.php │ │ │ └── test │ │ │ │ ├── index.html │ │ │ │ └── test.js │ │ ├── jquery.min.js │ │ ├── md5 │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── README.md │ │ │ ├── css │ │ │ │ └── demo.css │ │ │ ├── index.html │ │ │ ├── js │ │ │ │ ├── demo.js │ │ │ │ ├── md5.js │ │ │ │ ├── md5.min.js │ │ │ │ └── md5.min.js.map │ │ │ └── package.json │ │ ├── mousetrap │ │ │ ├── .gitignore │ │ │ ├── Gruntfile.js │ │ │ ├── README.md │ │ │ ├── mousetrap.js │ │ │ ├── mousetrap.min.js │ │ │ ├── package.json │ │ │ ├── plugins │ │ │ │ ├── README.md │ │ │ │ ├── bind-dictionary │ │ │ │ │ ├── README.md │ │ │ │ │ ├── mousetrap-bind-dictionary.js │ │ │ │ │ └── mousetrap-bind-dictionary.min.js │ │ │ │ ├── global-bind │ │ │ │ │ ├── README.md │ │ │ │ │ ├── mousetrap-global-bind.js │ │ │ │ │ └── mousetrap-global-bind.min.js │ │ │ │ ├── pause │ │ │ │ │ ├── README.md │ │ │ │ │ ├── mousetrap-pause.js │ │ │ │ │ └── mousetrap-pause.min.js │ │ │ │ └── record │ │ │ │ │ ├── README.md │ │ │ │ │ ├── mousetrap-record.js │ │ │ │ │ ├── mousetrap-record.min.js │ │ │ │ │ └── tests │ │ │ │ │ ├── index.html │ │ │ │ │ ├── jelly.css │ │ │ │ │ └── jelly.js │ │ │ └── tests │ │ │ │ ├── libs │ │ │ │ ├── chai-1.6.0.js │ │ │ │ ├── jquery-1.7.2.min.js │ │ │ │ ├── key-event.js │ │ │ │ ├── mocha-1.9.0.css │ │ │ │ ├── mocha-1.9.0.js │ │ │ │ ├── sinon-1.7.1.js │ │ │ │ ├── sinon-chai-2.4.0.js │ │ │ │ └── sinon-ie-1.7.1.js │ │ │ │ ├── mousetrap.html │ │ │ │ └── test.mousetrap.js │ │ └── noty.js │ ├── css │ │ ├── admin │ │ │ ├── book.css │ │ │ ├── edit.css │ │ │ ├── site.css │ │ │ ├── start.css │ │ │ └── user.css │ │ ├── common.css │ │ └── web │ │ │ ├── reader.css │ │ │ └── web.css │ ├── dist │ │ ├── css │ │ │ ├── book.min.css │ │ │ ├── edit.min.css │ │ │ ├── reader.min.css │ │ │ ├── site.min.css │ │ │ ├── start.min.css │ │ │ ├── user.min.css │ │ │ └── web.min.css │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ ├── fontawesome-webfont.woff2 │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ └── js │ │ │ ├── book.min.js │ │ │ ├── common.min.js │ │ │ ├── edit.min.js │ │ │ ├── reader.min.js │ │ │ └── user.min.js │ ├── favicon.ico │ ├── gulpfile.js │ ├── img │ │ ├── avatar.jpg │ │ ├── cover.jpg │ │ └── logo.png │ ├── js │ │ ├── admin │ │ │ ├── book.js │ │ │ ├── edit.js │ │ │ └── user.js │ │ ├── common.js │ │ ├── extend.js │ │ └── web │ │ │ └── reader.js │ ├── package.json │ └── src │ │ ├── js │ │ ├── admin │ │ │ ├── book.js │ │ │ ├── edit.js │ │ │ └── user.js │ │ ├── extend │ │ │ ├── jquery-extend.js │ │ │ ├── notify.js │ │ │ └── string-extend.js │ │ └── web │ │ │ └── reader.js │ │ └── scss │ │ ├── _book.scss │ │ ├── admin │ │ ├── _common.scss │ │ ├── book.scss │ │ ├── edit.scss │ │ ├── site.scss │ │ ├── start.scss │ │ └── user.scss │ │ ├── base.scss │ │ ├── base │ │ ├── form.scss │ │ ├── global.scss │ │ ├── layout.scss │ │ ├── uploadfile.scss │ │ └── variables.scss │ │ └── web │ │ ├── _header.scss │ │ ├── _html.scss │ │ ├── reader.scss │ │ └── web.scss ├── templates │ ├── _common-css.html │ ├── _common-js.html │ ├── _footer.html │ ├── _pagination.html │ ├── admin │ │ ├── _head.html │ │ ├── _sidebar.html │ │ ├── base.html │ │ ├── book │ │ │ ├── detail.html │ │ │ ├── edit.html │ │ │ ├── index.html │ │ │ └── new.html │ │ ├── site │ │ │ └── site.html │ │ ├── start │ │ │ ├── _head.html │ │ │ ├── config.html │ │ │ ├── install-error.html │ │ │ ├── install-step1.html │ │ │ ├── install.html │ │ │ ├── login.html │ │ │ ├── setup-error.html │ │ │ ├── setup-step1.html │ │ │ ├── setup-step2.html │ │ │ └── setup.html │ │ └── user │ │ │ ├── detail.html │ │ │ ├── index.html │ │ │ └── new.html │ ├── includes │ │ └── _book.html │ └── web │ │ ├── _catalog.html │ │ ├── _info.html │ │ ├── _reader.html │ │ ├── base.html │ │ ├── index.html │ │ └── reader.html └── web │ ├── __init__.py │ └── views │ ├── __init__.py │ └── home.py ├── doc └── image │ ├── book.png │ ├── home.png │ ├── reader.png │ └── start.png ├── manage.py └── requirements.txt /.gitattributes: -------------------------------------------------------------------------------- 1 | *.js linguist-language=Python 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.swo 3 | *.swp 4 | *.log 5 | logs 6 | config.py 7 | app/static/node_modules/ 8 | app/static/resource/ 9 | -------------------------------------------------------------------------------- /app/admin/__init__.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | from flask import Blueprint 3 | admin = Blueprint("admin", __name__) 4 | 5 | import app.admin.views 6 | 7 | from app.models import site 8 | -------------------------------------------------------------------------------- /app/admin/forms/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/admin/forms/__init__.py -------------------------------------------------------------------------------- /app/admin/forms/book.py: -------------------------------------------------------------------------------- 1 | #coding: utf-8 2 | from flask_wtf import Form 3 | from wtforms import StringField,RadioField 4 | from wtforms import TextAreaField 5 | from wtforms.validators import DataRequired, Length 6 | 7 | 8 | 9 | class BookForm(Form): 10 | name = StringField("书名", validators=[DataRequired("书名不能为空"), Length(1, 125, "长度不能超过125个字符")]) 11 | brief = TextAreaField("描述") 12 | access = RadioField("访问权限", choices=[("1", "公开"), ("0", "私人")]) 13 | 14 | 15 | class SettingForm(Form): 16 | name = StringField("书名", validators=[DataRequired("书名不能为空"), Length(1, 125, "长度不能超过125个字符")]) 17 | brief = TextAreaField("描述") 18 | access = RadioField("访问权限", choices=[("1", "公开"), ("0", "私人")]) 19 | 20 | 21 | -------------------------------------------------------------------------------- /app/admin/forms/site.py: -------------------------------------------------------------------------------- 1 | #coding: utf-8 2 | from flask_wtf import Form 3 | from wtforms import StringField 4 | from wtforms import TextAreaField 5 | from wtforms.validators import DataRequired, Length 6 | 7 | 8 | class SiteForm(Form): 9 | name = StringField("名称", validators=[DataRequired("网站名称不能为空"), Length(1, 125, "长度不能超过125个字符")]) 10 | description = StringField("一句话描述", validators=[Length(0, 125, "长度不能超过125个字符")]) 11 | about = TextAreaField("关于本站") 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/admin/forms/user.py: -------------------------------------------------------------------------------- 1 | #coding: utf-8 2 | from flask_wtf import Form 3 | from wtforms import StringField, PasswordField 4 | from wtforms.validators import DataRequired, Length 5 | 6 | 7 | class UserForm(Form): 8 | username = StringField("用户名", validators=[DataRequired("用户名不能为空"), 9 | Length(3, 50, "用户名长度在3到50个字符之间")]) 10 | password = PasswordField("密码", validators=[DataRequired("密码不能为空"), 11 | Length(6, 128, "密码长度应该在6到128个字符之间")]) 12 | 13 | 14 | class SettingForm(Form): 15 | nickname = StringField("昵称", validators=[DataRequired("昵称不能为空"), 16 | Length(1, 50, "昵称长度在1到50个字符之间")]) 17 | 18 | 19 | -------------------------------------------------------------------------------- /app/admin/views/__init__.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | 3 | import app.admin.views.start 4 | import app.admin.views.book 5 | import app.admin.views.user 6 | import app.admin.views.site 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/api/__init__.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | from flask import Blueprint 3 | api = Blueprint("api", __name__) 4 | 5 | import app.api.views 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/config_default.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | 3 | class Config(object): 4 | DEBUG = False 5 | SECRET_KEY = 'this is secret string' 6 | 7 | SQLALCHEMY_COMMIT_ON_TEARDOWN = True 8 | 9 | SQLALCHEMY_TRACK_MODIFICATIONS = False 10 | 11 | # catalog max depth 12 | CATALOG_DEEP = 3 13 | ERROR_LOG = "../logs/error.log" 14 | INFO_LOG = "../logs/info.log" 15 | 16 | DB_PREFIX = "bb_" 17 | PER_PAGE = 20 18 | 19 | STATIC_IMG_PATH = "img" 20 | 21 | AVATAR_PATH = "resource/image/avatar" 22 | TMP_PATH = "resource/tmp" 23 | IMAGE_PATH = "resource/image/image" 24 | 25 | BOOK_COVER_PATH = "resource/image/cover" 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /app/includes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/includes/__init__.py -------------------------------------------------------------------------------- /app/includes/diff.py: -------------------------------------------------------------------------------- 1 | #coding: utf-8 2 | 3 | def merge_diff(str, diff): 4 | """根据diff合并str""" 5 | # 新的内容 6 | _str, index = '', 0 7 | for op, data in diff: 8 | if op == 1: 9 | # data为增加的字符 10 | _str+=data 11 | elif op == -1: 12 | # data为删除的字符 13 | index += data 14 | else: 15 | # data为不往后不变的字符数 16 | _str += str[index:index+data] 17 | index += data 18 | return _str 19 | 20 | 21 | -------------------------------------------------------------------------------- /app/includes/util.py: -------------------------------------------------------------------------------- 1 | #coding: utf-8 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/models/__init__.py -------------------------------------------------------------------------------- /app/models/model.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | from flask_sqlalchemy import Pagination 3 | from flask_sqlalchemy import SQLAlchemy 4 | from flask_login import LoginManager 5 | 6 | db = SQLAlchemy() 7 | login_manager = LoginManager() 8 | 9 | def paginate(query, page, per_page=20, error_out=True): 10 | if error_out and page < 1: 11 | abort(404) 12 | items = query.limit(per_page).offset((page - 1) * per_page).all() 13 | if not items and page != 1 and error_out: 14 | abort(404) 15 | if page == 1 and len(items) < per_page: 16 | total = len(items) 17 | else: 18 | total = query.order_by(None).count() 19 | return Pagination(query, page, per_page, total, items) 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/README.md: -------------------------------------------------------------------------------- 1 | # Bookeditor 2 | 一个开源的Markdown在线写书编辑器 3 | 4 | # Bookeditor依赖的开源项目 5 | 6 | - [jQuery](http://jquery.com/) 7 | - [Bootstrap](https://v3.bootcss.com/) 8 | - [Codemirror](http://codemirror.net/) 9 | - [FontAwesome](http://fontawesome.io/) 10 | - [KaTeX](https://khan.github.io/KaTeX/) 11 | - [marked](https://github.com/chjj/marked) 12 | - [Mousetrap](https://craig.is/killing/mice) 13 | - [Prettify](https://github.com/google/code-prettify) 14 | - [bootstrap-treeview](https://github.com/jonmiles/bootstrap-treeview)(目录) 15 | - [Sortable](https://github.com/RubaXa/Sortable)(目录) 16 | 17 | # 示例 18 | 19 | - [写书示例(带目录)](http://www.beibq.cn/bookeditor/book) 20 | - [普通示例](http://www.beibq.cn/bookeditor/common) 21 | - [非全屏示例](http://www.beibq.cn/bookeditor/not-full) 22 | 23 | 24 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bookeditor", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "devDependencies": { 12 | "autoprefixer": "^7.2.3", 13 | "cssnext": "^1.8.4", 14 | "gulp": "^3.9.1", 15 | "gulp-connect": "^5.0.0", 16 | "gulp-jshint": "^2.0.4", 17 | "gulp-minify-css": "^1.2.4", 18 | "gulp-postcss": "^7.0.0", 19 | "gulp-rename": "^1.2.2", 20 | "gulp-uglify": "^3.0.0", 21 | "node-sass": "^4.7.2", 22 | "precss": "^2.0.0" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/bootstrap-treeview/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "public/bower_components" 3 | } -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/bootstrap-treeview/.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/bootstrap-treeview/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | public/bower_components/ 3 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/bootstrap-treeview/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | // Details: https://github.com/victorporof/Sublime-JSHint#using-your-own-jshintrc-options 3 | // Example: https://github.com/jshint/jshint/blob/master/examples/.jshintrc 4 | // Documentation: http://www.jshint.com/docs/ 5 | "browser": true, 6 | "esnext": true, 7 | "globals": { $: false, jQuery: false, "console": false}, 8 | "globalstrict": true, 9 | "quotmark": "single", 10 | "smarttabs": true, 11 | "trailing": true, 12 | "undef": true, 13 | "unused": true 14 | } 15 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/bootstrap-treeview/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - "0.11" 5 | - "0.10" 6 | 7 | before_script: 8 | - npm install -g grunt-cli 9 | - npm install 10 | - bower install 11 | 12 | script: grunt test --verbose --force -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/bootstrap-treeview/bootstrap-treeview.min.css: -------------------------------------------------------------------------------- 1 | .treeview .list-group-item{cursor:pointer}.treeview span.indent{margin-left:10px;margin-right:10px}.treeview span.icon{width:12px;margin-right:5px}.treeview .node-disabled{color:silver;cursor:not-allowed} -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/bootstrap-treeview/tests/README.md: -------------------------------------------------------------------------------- 1 | # Testing 2 | 3 | Tests are run using [QUnit](https://qunitjs.com/) and [PhantomJS](http://phantomjs.org/) 4 | 5 | To run the tests yourself. 6 | 7 | ```javascript 8 | $ npm install 9 | $ npm test 10 | ``` 11 | 12 | To view the test report. 13 | 14 | ```javascript 15 | $ npm install 16 | $ npm start 17 | ``` 18 | 19 | Then open a browser and navigate to [http://localhost:3000/tests.html](http://localhost:3000/tests.html) 20 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/bootstrap/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/.gitattributes: -------------------------------------------------------------------------------- 1 | *.txt text 2 | *.js text 3 | *.html text 4 | *.md text 5 | *.json text 6 | *.yml text 7 | *.css text 8 | *.svg text 9 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /npm-debug.log 3 | /test*.html 4 | .tern-* 5 | *~ 6 | *.swp 7 | .idea 8 | *.iml 9 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /demo 3 | /doc 4 | /test 5 | /test*.html 6 | /index.html 7 | /mode/*/*test.js 8 | /mode/*/*.html 9 | /mode/index.html 10 | .* 11 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - stable 4 | sudo: false 5 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/addon/dialog/dialog.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-dialog { 2 | position: absolute; 3 | left: 0; right: 0; 4 | background: inherit; 5 | z-index: 15; 6 | padding: .1em .8em; 7 | overflow: hidden; 8 | color: inherit; 9 | } 10 | 11 | .CodeMirror-dialog-top { 12 | border-bottom: 1px solid #eee; 13 | top: 0; 14 | } 15 | 16 | .CodeMirror-dialog-bottom { 17 | border-top: 1px solid #eee; 18 | bottom: 0; 19 | } 20 | 21 | .CodeMirror-dialog input { 22 | border: none; 23 | outline: none; 24 | background: transparent; 25 | width: 20em; 26 | color: inherit; 27 | font-family: monospace; 28 | } 29 | 30 | .CodeMirror-dialog button { 31 | font-size: 70%; 32 | } 33 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/addon/display/fullscreen.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-fullscreen { 2 | position: fixed; 3 | top: 0; left: 0; right: 0; bottom: 0; 4 | height: auto; 5 | z-index: 9; 6 | } 7 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/addon/fold/foldgutter.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-foldmarker { 2 | color: blue; 3 | text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px; 4 | font-family: arial; 5 | line-height: .3; 6 | cursor: pointer; 7 | } 8 | .CodeMirror-foldgutter { 9 | width: .7em; 10 | } 11 | .CodeMirror-foldgutter-open, 12 | .CodeMirror-foldgutter-folded { 13 | cursor: pointer; 14 | } 15 | .CodeMirror-foldgutter-open:after { 16 | content: "\25BE"; 17 | } 18 | .CodeMirror-foldgutter-folded:after { 19 | content: "\25B8"; 20 | } 21 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/addon/hint/show-hint.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-hints { 2 | position: absolute; 3 | z-index: 10; 4 | overflow: hidden; 5 | list-style: none; 6 | 7 | margin: 0; 8 | padding: 2px; 9 | 10 | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 11 | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 12 | box-shadow: 2px 3px 5px rgba(0,0,0,.2); 13 | border-radius: 3px; 14 | border: 1px solid silver; 15 | 16 | background: white; 17 | font-size: 90%; 18 | font-family: monospace; 19 | max-width: 19em; 20 | 21 | max-height: 20em; 22 | overflow-y: auto; 23 | } 24 | 25 | .CodeMirror-hint { 26 | margin: 0; 27 | padding: 0 4px; 28 | border-radius: 2px; 29 | white-space: pre; 30 | color: black; 31 | cursor: pointer; 32 | } 33 | 34 | li.CodeMirror-hint-active { 35 | background: #08f; 36 | color: white; 37 | } 38 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/addon/search/matchesonscrollbar.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-search-match { 2 | background: gold; 3 | border-top: 1px solid orange; 4 | border-bottom: 1px solid orange; 5 | -moz-box-sizing: border-box; 6 | box-sizing: border-box; 7 | opacity: .5; 8 | } 9 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/bin/authors.sh: -------------------------------------------------------------------------------- 1 | # Combine existing list of authors with everyone known in git, sort, add header. 2 | tail --lines=+3 AUTHORS > AUTHORS.tmp 3 | git log --format='%aN' >> AUTHORS.tmp 4 | echo -e "List of CodeMirror contributors. Updated before every release.\n" > AUTHORS 5 | sort -u AUTHORS.tmp >> AUTHORS 6 | rm -f AUTHORS.tmp 7 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/bin/lint: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | process.exit(require("../test/lint").ok ? 0 : 1); 4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "codemirror", 3 | "main": ["lib/codemirror.js", "lib/codemirror.css"], 4 | "ignore": [ 5 | "**/.*", 6 | "node_modules", 7 | "components", 8 | "bin", 9 | "demo", 10 | "doc", 11 | "test", 12 | "index.html", 13 | "package.json", 14 | "mode/*/*test.js", 15 | "mode/*/*.html" 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/doc/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/codemirror/doc/logo.png -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/doc/yinyang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/codemirror/doc/yinyang.png -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/mode/css/gss_test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | "use strict"; 6 | 7 | var mode = CodeMirror.getMode({indentUnit: 2}, "text/x-gss"); 8 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), "gss"); } 9 | 10 | MT("atComponent", 11 | "[def @component] {", 12 | "[tag foo] {", 13 | " [property color]: [keyword black];", 14 | "}", 15 | "}"); 16 | 17 | })(); 18 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/mode/ruby/test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | var mode = CodeMirror.getMode({indentUnit: 2}, "ruby"); 6 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } 7 | 8 | MT("divide_equal_operator", 9 | "[variable bar] [operator /=] [variable foo]"); 10 | 11 | MT("divide_equal_operator_no_spacing", 12 | "[variable foo][operator /=][number 42]"); 13 | 14 | })(); 15 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/mode/tiddlywiki/tiddlywiki.css: -------------------------------------------------------------------------------- 1 | span.cm-underlined { 2 | text-decoration: underline; 3 | } 4 | span.cm-strikethrough { 5 | text-decoration: line-through; 6 | } 7 | span.cm-brace { 8 | color: #170; 9 | font-weight: bold; 10 | } 11 | span.cm-table { 12 | color: blue; 13 | font-weight: bold; 14 | } 15 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/mode/tiki/tiki.css: -------------------------------------------------------------------------------- 1 | .cm-tw-syntaxerror { 2 | color: #FFF; 3 | background-color: #900; 4 | } 5 | 6 | .cm-tw-deleted { 7 | text-decoration: line-through; 8 | } 9 | 10 | .cm-tw-header5 { 11 | font-weight: bold; 12 | } 13 | .cm-tw-listitem:first-child { /*Added first child to fix duplicate padding when highlighting*/ 14 | padding-left: 10px; 15 | } 16 | 17 | .cm-tw-box { 18 | border-top-width: 0px !important; 19 | border-style: solid; 20 | border-width: 1px; 21 | border-color: inherit; 22 | } 23 | 24 | .cm-tw-underline { 25 | text-decoration: underline; 26 | } -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/test/lint.js: -------------------------------------------------------------------------------- 1 | var blint = require("blint"); 2 | 3 | ["mode", "lib", "addon", "keymap"].forEach(function(dir) { 4 | blint.checkDir(dir, { 5 | browser: true, 6 | allowedGlobals: ["CodeMirror", "define", "test", "requirejs"], 7 | blob: "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http:\/\/codemirror.net\/LICENSE\n\n" 8 | }); 9 | }); 10 | 11 | module.exports = {ok: blint.success()}; 12 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/test/mode_test.css: -------------------------------------------------------------------------------- 1 | .mt-output .mt-token { 2 | border: 1px solid #ddd; 3 | white-space: pre; 4 | font-family: "Consolas", monospace; 5 | text-align: center; 6 | } 7 | 8 | .mt-output .mt-style { 9 | font-size: x-small; 10 | } 11 | 12 | .mt-output .mt-state { 13 | font-size: x-small; 14 | vertical-align: top; 15 | } 16 | 17 | .mt-output .mt-state-row { 18 | display: none; 19 | } 20 | 21 | .mt-state-unhide .mt-output .mt-state-row { 22 | display: table-row; 23 | } 24 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/theme/ambiance-mobile.css: -------------------------------------------------------------------------------- 1 | .cm-s-ambiance.CodeMirror { 2 | -webkit-box-shadow: none; 3 | -moz-box-shadow: none; 4 | box-shadow: none; 5 | } 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/theme/elegant.css: -------------------------------------------------------------------------------- 1 | .cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom { color: #762; } 2 | .cm-s-elegant span.cm-comment { color: #262; font-style: italic; line-height: 1em; } 3 | .cm-s-elegant span.cm-meta { color: #555; font-style: italic; line-height: 1em; } 4 | .cm-s-elegant span.cm-variable { color: black; } 5 | .cm-s-elegant span.cm-variable-2 { color: #b11; } 6 | .cm-s-elegant span.cm-qualifier { color: #555; } 7 | .cm-s-elegant span.cm-keyword { color: #730; } 8 | .cm-s-elegant span.cm-builtin { color: #30a; } 9 | .cm-s-elegant span.cm-link { color: #762; } 10 | .cm-s-elegant span.cm-error { background-color: #fdd; } 11 | 12 | .cm-s-elegant .CodeMirror-activeline-background { background: #e8f2ff; } 13 | .cm-s-elegant .CodeMirror-matchingbracket { outline:1px solid grey; color:black !important; } 14 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/codemirror/theme/neat.css: -------------------------------------------------------------------------------- 1 | .cm-s-neat span.cm-comment { color: #a86; } 2 | .cm-s-neat span.cm-keyword { line-height: 1em; font-weight: bold; color: blue; } 3 | .cm-s-neat span.cm-string { color: #a22; } 4 | .cm-s-neat span.cm-builtin { line-height: 1em; font-weight: bold; color: #077; } 5 | .cm-s-neat span.cm-special { line-height: 1em; font-weight: bold; color: #0aa; } 6 | .cm-s-neat span.cm-variable { color: black; } 7 | .cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; } 8 | .cm-s-neat span.cm-meta { color: #555; } 9 | .cm-s-neat span.cm-link { color: #3a3; } 10 | 11 | .cm-s-neat .CodeMirror-activeline-background { background: #e8f2ff; } 12 | .cm-s-neat .CodeMirror-matchingbracket { outline:1px solid grey; color:black !important; } 13 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/HELP-US-OUT.txt: -------------------------------------------------------------------------------- 1 | I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project, 2 | Fort Awesome (https://fortawesome.com). It makes it easy to put the perfect icons on your website. Choose from our awesome, 3 | comprehensive icon sets or copy and paste your own. 4 | 5 | Please. Check it out. 6 | 7 | -Dave Gandy 8 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/font-awesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .@{fa-css-prefix}-pull-left { float: left; } 11 | .@{fa-css-prefix}-pull-right { float: right; } 12 | 13 | .@{fa-css-prefix} { 14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .@{fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | @import "screen-reader.less"; 19 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/less/screen-reader.less: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { .sr-only(); } 5 | .sr-only-focusable { .sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .#{$fa-css-prefix}-pull-left { float: left; } 11 | .#{$fa-css-prefix}-pull-right { float: right; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .#{$fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/scss/_screen-reader.scss: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { @include sr-only(); } 5 | .sr-only-focusable { @include sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/font-awesome/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | @import "screen-reader"; 19 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_AMS-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_AMS-Regular.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_AMS-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_AMS-Regular.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_AMS-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_AMS-Regular.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_AMS-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_AMS-Regular.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Bold.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Bold.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Bold.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Bold.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Regular.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Regular.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Regular.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Caligraphic-Regular.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Bold.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Bold.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Bold.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Bold.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Regular.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Regular.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Regular.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Fraktur-Regular.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Bold.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Bold.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Bold.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Bold.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Italic.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Italic.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Italic.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Italic.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Regular.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Regular.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Regular.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Main-Regular.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-BoldItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-BoldItalic.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-BoldItalic.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-BoldItalic.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-BoldItalic.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Italic.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Italic.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Italic.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Italic.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Regular.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Regular.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Regular.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Math-Regular.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Bold.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Bold.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Bold.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Bold.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Italic.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Italic.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Italic.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Italic.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Regular.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Regular.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Regular.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_SansSerif-Regular.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Script-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Script-Regular.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Script-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Script-Regular.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Script-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Script-Regular.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Script-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Script-Regular.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size1-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size1-Regular.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size1-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size1-Regular.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size1-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size1-Regular.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size1-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size1-Regular.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size2-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size2-Regular.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size2-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size2-Regular.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size2-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size2-Regular.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size2-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size2-Regular.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size3-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size3-Regular.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size3-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size3-Regular.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size3-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size3-Regular.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size3-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size3-Regular.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size4-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size4-Regular.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size4-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size4-Regular.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size4-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size4-Regular.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size4-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Size4-Regular.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Typewriter-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Typewriter-Regular.eot -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Typewriter-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Typewriter-Regular.ttf -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Typewriter-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Typewriter-Regular.woff -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Typewriter-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/katex/fonts/KaTeX_Typewriter-Regular.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/.npmignore: -------------------------------------------------------------------------------- 1 | .git* 2 | test/ 3 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.8" 5 | - "0.6" 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/Gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var uglify = require('gulp-uglify'); 3 | var concat = require('gulp-concat'); 4 | 5 | var preserveFirstComment = function() { 6 | var set = false; 7 | 8 | return function() { 9 | if (set) return false; 10 | set = true; 11 | return true; 12 | }; 13 | }; 14 | 15 | gulp.task('uglify', function() { 16 | gulp.src('lib/marked.js') 17 | .pipe(uglify({preserveComments: preserveFirstComment()})) 18 | .pipe(concat('marked.min.js')) 19 | .pipe(gulp.dest('.')); 20 | }); 21 | 22 | gulp.task('default', ['uglify']); 23 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | @cp lib/marked.js marked.js 3 | @uglifyjs --comments '/\*[^\0]+?Copyright[^\0]+?\*/' -o marked.min.js lib/marked.js 4 | 5 | clean: 6 | @rm marked.js 7 | @rm marked.min.js 8 | 9 | bench: 10 | @node test --bench 11 | 12 | .PHONY: clean all 13 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "marked", 3 | "version": "0.3.4", 4 | "homepage": "https://github.com/chjj/marked", 5 | "authors": [ 6 | "Christopher Jeffrey " 7 | ], 8 | "description": "A markdown parser built for speed", 9 | "keywords": [ 10 | "markdown", 11 | "markup", 12 | "html" 13 | ], 14 | "main": "lib/marked.js", 15 | "license": "MIT", 16 | "ignore": [ 17 | "**/.*", 18 | "node_modules", 19 | "bower_components", 20 | "app/bower_components", 21 | "test", 22 | "tests" 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "marked", 3 | "version": "0.3.4", 4 | "repo": "chjj/marked", 5 | "description": "A markdown parser built for speed", 6 | "keywords": ["markdown", "markup", "html"], 7 | "scripts": ["lib/marked.js"], 8 | "main": "lib/marked.js", 9 | "license": "MIT" 10 | } 11 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/doc/todo.md: -------------------------------------------------------------------------------- 1 | # Todo 2 | 3 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/marked'); 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "marked", 3 | "description": "A markdown parser built for speed", 4 | "author": "Christopher Jeffrey", 5 | "version": "0.3.5", 6 | "main": "./lib/marked.js", 7 | "bin": "./bin/marked", 8 | "man": "./man/marked.1", 9 | "preferGlobal": true, 10 | "repository": "git://github.com/chjj/marked.git", 11 | "homepage": "https://github.com/chjj/marked", 12 | "bugs": { "url": "http://github.com/chjj/marked/issues" }, 13 | "license": "MIT", 14 | "keywords": ["markdown", "markup", "html"], 15 | "tags": ["markdown", "markup", "html"], 16 | "devDependencies": { 17 | "markdown": "*", 18 | "showdown": "*", 19 | "gulp": "^3.8.11", 20 | "gulp-uglify": "^1.1.0", 21 | "gulp-concat": "^2.5.2" 22 | }, 23 | "scripts": { "test": "node test", "bench": "node test --bench" } 24 | } 25 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/README: -------------------------------------------------------------------------------- 1 | In this directory: 2 | 3 | # 4 | # MarkdownTester -- Run tests for Markdown implementations 5 | # 6 | # Copyright (c) 2004-2005 John Gruber 7 | # 8 | # 9 | 10 | Partially modified for testing purposes. 11 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/browser/index.html: -------------------------------------------------------------------------------- 1 | 2 | marked tests 3 |

testing...

4 | 5 | 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/autolink_lines.html: -------------------------------------------------------------------------------- 1 |

hello world 2 | http://example.com 3 |

4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/autolink_lines.text: -------------------------------------------------------------------------------- 1 | hello world 2 | 3 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/blockquote_list_item.html: -------------------------------------------------------------------------------- 1 |

This fails in markdown.pl and upskirt:

2 | 3 |
  • hello

    world

4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/blockquote_list_item.text: -------------------------------------------------------------------------------- 1 | This fails in markdown.pl and upskirt: 2 | 3 | * hello 4 | > world 5 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/case_insensitive_refs.html: -------------------------------------------------------------------------------- 1 |

hi

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/case_insensitive_refs.text: -------------------------------------------------------------------------------- 1 | [hi] 2 | 3 | [HI]: /url 4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/def_blocks.html: -------------------------------------------------------------------------------- 1 |
2 |

hello 3 | [1]: hello

4 |
5 | 6 |
7 | 8 |
9 |

hello

10 |
11 | 12 | 13 |
    14 |
  • hello
  • 15 |
  • [3]: hello
  • 16 |
17 | 18 | 19 |
    20 |
  • hello
  • 21 |
22 | 23 | 24 |
25 |

foo 26 | bar 27 | bar

28 |
29 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/def_blocks.text: -------------------------------------------------------------------------------- 1 | > hello 2 | > [1]: hello 3 | 4 | * * * 5 | 6 | > hello 7 | [2]: hello 8 | 9 | 10 | * hello 11 | * [3]: hello 12 | 13 | 14 | * hello 15 | [4]: hello 16 | 17 | 18 | > foo 19 | > bar 20 | [1]: foo 21 | > bar 22 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/double_link.html: -------------------------------------------------------------------------------- 1 |

Already linked: http://example.com/.

2 | 3 |

Already linked: http://example.com/.

4 | 5 |

Already linked: http://example.com/.

6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/double_link.text: -------------------------------------------------------------------------------- 1 |

Already linked: http://example.com/.

2 | 3 | Already linked: [http://example.com/](http://example.com/). 4 | 5 | Already linked: **http://example.com/**. 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/escaped_angles.html: -------------------------------------------------------------------------------- 1 |

>

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/escaped_angles.text: -------------------------------------------------------------------------------- 1 | \> 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_break.breaks.html: -------------------------------------------------------------------------------- 1 |

Look at the
pretty line
breaks.

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_break.breaks.text: -------------------------------------------------------------------------------- 1 | Look at the 2 | pretty line 3 | breaks. 4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_code.html: -------------------------------------------------------------------------------- 1 |
var a = 'hello';
 2 | console.log(a + ' world');
3 |
echo "hello, ${WORLD}"
4 |
Q: What do you call a tall person who sells stolen goods?
5 |
A longfence!
6 |

How about an empty code block?

7 |
8 |

How about a code block with only an empty line?

9 |

10 | 
11 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_code.text: -------------------------------------------------------------------------------- 1 | ``` js 2 | var a = 'hello'; 3 | console.log(a + ' world'); 4 | ``` 5 | 6 | ~~~bash 7 | echo "hello, ${WORLD}" 8 | ~~~ 9 | 10 | ```````longfence 11 | Q: What do you call a tall person who sells stolen goods? 12 | ``````` 13 | 14 | ~~~~~~~~~~ ManyTildes 15 | A longfence! 16 | ~~~~~~~~~~ 17 | 18 | How about an empty code block? 19 | 20 | ```js 21 | ``` 22 | 23 | How about a code block with only an empty line? 24 | 25 | ```js 26 | 27 | ``` 28 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_code_hr_list.text: -------------------------------------------------------------------------------- 1 | ## foo 2 | 3 | 1. bar: 4 | 5 | > - one 6 | - two 7 | - three 8 | - four 9 | - five 10 | 11 | 1. foo: 12 | 13 | ``` 14 | line 1 15 | line 2 16 | ``` 17 | 18 | 1. foo: 19 | 20 | 1. foo `bar` bar: 21 | 22 | ``` erb 23 | some code here 24 | ``` 25 | 26 | 2. foo `bar` bar: 27 | 28 | ``` erb 29 | foo 30 | --- 31 | bar 32 | --- 33 | foo 34 | bar 35 | ``` 36 | 37 | 3. foo `bar` bar: 38 | 39 | ``` html 40 | --- 41 | foo 42 | foo 43 | --- 44 | bar 45 | ``` 46 | 47 | 4. foo `bar` bar: 48 | 49 | foo 50 | --- 51 | bar 52 | 53 | 5. foo 54 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_del.html: -------------------------------------------------------------------------------- 1 |

hello hi world

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_del.text: -------------------------------------------------------------------------------- 1 | hello ~~hi~~ world 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_em.html: -------------------------------------------------------------------------------- 1 |

These words should_not_be_emphasized.

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_em.text: -------------------------------------------------------------------------------- 1 | These words should_not_be_emphasized. 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_hashtag.gfm.html: -------------------------------------------------------------------------------- 1 |

#header

2 | 3 |

header1

4 | 5 |

header2

6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_hashtag.gfm.text: -------------------------------------------------------------------------------- 1 | #header 2 | 3 | # header1 4 | 5 | # header2 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_hashtag.nogfm.html: -------------------------------------------------------------------------------- 1 |

header

2 | 3 |

header1

4 | 5 |

header2

6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_hashtag.nogfm.text: -------------------------------------------------------------------------------- 1 | #header 2 | 3 | # header1 4 | 5 | # header2 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_links.html: -------------------------------------------------------------------------------- 1 |

This should be a link: 2 | http://example.com/hello-world.

3 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_links.text: -------------------------------------------------------------------------------- 1 | This should be a link: http://example.com/hello-world. 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/gfm_tables.text: -------------------------------------------------------------------------------- 1 | | Heading 1 | Heading 2 2 | | --------- | --------- 3 | | Cell 1 | Cell 2 4 | | Cell 3 | Cell 4 5 | 6 | | Header 1 | Header 2 | Header 3 | Header 4 | 7 | | :------: | -------: | :------- | -------- | 8 | | Cell 1 | Cell 2 | Cell 3 | Cell 4 | 9 | | Cell 5 | Cell 6 | Cell 7 | Cell 8 | 10 | 11 | Test code 12 | 13 | Header 1 | Header 2 14 | -------- | -------- 15 | Cell 1 | Cell 2 16 | Cell 3 | Cell 4 17 | 18 | Header 1|Header 2|Header 3|Header 4 19 | :-------|:------:|-------:|-------- 20 | Cell 1 |Cell 2 |Cell 3 |Cell 4 21 | *Cell 5*|Cell 6 |Cell 7 |Cell 8 22 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/hr_list_break.html: -------------------------------------------------------------------------------- 1 |
    2 |
  • hello 3 | world
  • 4 |
  • how 5 | are
  • 6 |
7 | 8 |
9 | 10 |

you today?

11 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/hr_list_break.text: -------------------------------------------------------------------------------- 1 | * hello 2 | world 3 | * how 4 | are 5 | * * * 6 | you today? 7 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/lazy_blockquotes.html: -------------------------------------------------------------------------------- 1 |
2 |

hi there 3 | bud

4 |
5 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/lazy_blockquotes.text: -------------------------------------------------------------------------------- 1 | > hi there 2 | bud 3 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/list_item_text.html: -------------------------------------------------------------------------------- 1 |
  • item1

    • item2

    text

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/list_item_text.text: -------------------------------------------------------------------------------- 1 | * item1 2 | 3 | * item2 4 | 5 | text 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/loose_lists.text: -------------------------------------------------------------------------------- 1 | * hello 2 | world 3 | 4 | how 5 | are 6 | * you 7 | 8 | 9 | 10 | better behavior: 11 | 12 | * hello 13 | * world 14 | how 15 | 16 | are 17 | you 18 | 19 | * today 20 | * hi 21 | 22 | 23 | 24 | * hello 25 | 26 | * world 27 | * hi 28 | 29 | 30 | 31 | * hello 32 | * world 33 | 34 | * hi 35 | 36 | 37 | 38 | * hello 39 | * world 40 | 41 | how 42 | * hi 43 | 44 | 45 | 46 | * hello 47 | * world 48 | * how 49 | 50 | are 51 | 52 | 53 | 54 | * hello 55 | * world 56 | 57 | * how 58 | 59 | are 60 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/nested_code.html: -------------------------------------------------------------------------------- 1 |

hi ther `` ok ```

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/nested_code.text: -------------------------------------------------------------------------------- 1 | ````` hi ther `` ok ``` ````` 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/nested_em.html: -------------------------------------------------------------------------------- 1 |

test test test

2 | 3 |

test test test

4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/nested_em.text: -------------------------------------------------------------------------------- 1 | *test **test** test* 2 | 3 | _test __test__ test_ 4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/nested_square_link.html: -------------------------------------------------------------------------------- 1 |

the ] character

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/nested_square_link.text: -------------------------------------------------------------------------------- 1 | [the `]` character](/url) 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/not_a_link.html: -------------------------------------------------------------------------------- 1 |

[test](not a link)

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/not_a_link.text: -------------------------------------------------------------------------------- 1 | \[test](not a link) 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/ref_paren.html: -------------------------------------------------------------------------------- 1 |

hi

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/ref_paren.text: -------------------------------------------------------------------------------- 1 | [hi] 2 | 3 | [hi]: /url (there) 4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/same_bullet.html: -------------------------------------------------------------------------------- 1 |
    2 |
  • test
  • 3 |
  • test
  • 4 |
  • test
  • 5 |
6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/same_bullet.text: -------------------------------------------------------------------------------- 1 | * test 2 | + test 3 | - test 4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/text.smartypants.html: -------------------------------------------------------------------------------- 1 |

Hello world ‘how’ “are” you — today…

2 | 3 |

“It’s a more ‘challenging’ smartypants test…”

4 | 5 |

‘And,’ as a bonus — “one 6 | multiline” test!

7 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/text.smartypants.text: -------------------------------------------------------------------------------- 1 | Hello world 'how' "are" you -- today... 2 | 3 | "It's a more 'challenging' smartypants test..." 4 | 5 | 'And,' as a bonus -- "one 6 | multiline" test! 7 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/toplevel_paragraphs.gfm.html: -------------------------------------------------------------------------------- 1 |

hello world 2 | how are you 3 | how are you

4 | 5 |

hello world

6 |
how are you
7 | 8 |

hello world

9 |
10 | 11 |

hello world

12 |

how are you

13 | 14 |

hello world

15 |

how are you

16 | 17 |

hello world

18 |

how are you

19 | 20 |

hello world

21 |
  • how are you
22 | 23 |

hello world

24 |
how are you
25 | 26 |

hello world 27 | how are you

28 | 29 |

hello world 30 |

31 | 32 |
hello
33 | 34 |

hello

35 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/toplevel_paragraphs.gfm.text: -------------------------------------------------------------------------------- 1 | hello world 2 | how are you 3 | how are you 4 | 5 | hello world 6 | ``` 7 | how are you 8 | ``` 9 | 10 | hello world 11 | * * * 12 | 13 | hello world 14 | # how are you 15 | 16 | hello world 17 | how are you 18 | =========== 19 | 20 | hello world 21 | > how are you 22 | 23 | hello world 24 | * how are you 25 | 26 | hello world 27 |
how are you
28 | 29 | hello world 30 | how are you 31 | 32 | hello [world][how] 33 | [how]: /are/you 34 | 35 |
hello
36 | 37 | hello 38 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/tricky_list.html: -------------------------------------------------------------------------------- 1 |

hello world

2 | 3 |
    4 |
  • hello world
  • 5 |
6 | 7 |

hello world

8 | 9 |
    10 |
  • hello world
  • 11 |
12 | 13 |

hello world

14 | 15 |
    16 |
  • Hello world
  • 17 |
18 | 19 |

hello world

20 | 21 |
    22 |
  • hello world
  • 23 |
24 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/new/tricky_list.text: -------------------------------------------------------------------------------- 1 | **hello** _world_ 2 | 3 | * hello world 4 | 5 | **hello** _world_ 6 | 7 | * hello world 8 | 9 | **hello** _world_ 10 | 11 | * Hello world 12 | 13 | **hello** _world_ 14 | 15 | * hello world 16 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/amps_and_angles_encoding.html: -------------------------------------------------------------------------------- 1 |

AT&T has an ampersand in their name.

2 | 3 |

AT&T is another way to write it.

4 | 5 |

This & that.

6 | 7 |

4 < 5.

8 | 9 |

6 > 5.

10 | 11 |

Here's a link with an ampersand in the URL.

12 | 13 |

Here's a link with an amersand in the link text: AT&T.

14 | 15 |

Here's an inline link.

16 | 17 |

Here's an inline link.

18 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/amps_and_angles_encoding.text: -------------------------------------------------------------------------------- 1 | AT&T has an ampersand in their name. 2 | 3 | AT&T is another way to write it. 4 | 5 | This & that. 6 | 7 | 4 < 5. 8 | 9 | 6 > 5. 10 | 11 | Here's a [link] [1] with an ampersand in the URL. 12 | 13 | Here's a link with an amersand in the link text: [AT&T] [2]. 14 | 15 | Here's an inline [link](/script?foo=1&bar=2). 16 | 17 | Here's an inline [link](). 18 | 19 | 20 | [1]: http://example.com/?foo=1&bar=2 21 | [2]: http://att.com/ "AT&T" 22 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/auto_links.html: -------------------------------------------------------------------------------- 1 |

Link: http://example.com/.

2 | 3 |

With an ampersand: http://example.com/?foo=1&bar=2

4 | 5 | 10 | 11 |
12 |

Blockquoted: http://example.com/

13 |
14 | 15 |

Auto-links should not occur here: <http://example.com/>

16 | 17 |
or here: <http://example.com/>
18 | 
19 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/auto_links.text: -------------------------------------------------------------------------------- 1 | Link: . 2 | 3 | With an ampersand: 4 | 5 | * In a list? 6 | * 7 | * It should. 8 | 9 | > Blockquoted: 10 | 11 | Auto-links should not occur here: `` 12 | 13 | or here: 14 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/blockquotes_with_code_blocks.html: -------------------------------------------------------------------------------- 1 |
2 |

Example:

3 | 4 |
sub status {
 5 |     print "working";
 6 | }
 7 | 
8 | 9 |

Or:

10 | 11 |
sub status {
12 |     return "working";
13 | }
14 | 
15 |
16 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/blockquotes_with_code_blocks.text: -------------------------------------------------------------------------------- 1 | > Example: 2 | > 3 | > sub status { 4 | > print "working"; 5 | > } 6 | > 7 | > Or: 8 | > 9 | > sub status { 10 | > return "working"; 11 | > } 12 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/code_blocks.html: -------------------------------------------------------------------------------- 1 |
code block on the first line
 2 | 
3 | 4 |

Regular text.

5 | 6 |
code block indented by spaces
 7 | 
8 | 9 |

Regular text.

10 | 11 |
the lines in this block  
12 | all contain trailing spaces  
13 | 
14 | 15 |

Regular Text.

16 | 17 |
code block on the last line
18 | 
19 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/code_blocks.text: -------------------------------------------------------------------------------- 1 | code block on the first line 2 | 3 | Regular text. 4 | 5 | code block indented by spaces 6 | 7 | Regular text. 8 | 9 | the lines in this block 10 | all contain trailing spaces 11 | 12 | Regular Text. 13 | 14 | code block on the last line 15 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/code_spans.html: -------------------------------------------------------------------------------- 1 |

<test a=" content of attribute ">

2 | 3 |

Fix for backticks within HTML tag: like this

4 | 5 |

Here's how you put `backticks` in a code span.

6 | 7 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/code_spans.text: -------------------------------------------------------------------------------- 1 | `` 2 | 3 | Fix for backticks within HTML tag: like this 4 | 5 | Here's how you put `` `backticks` `` in a code span. 6 | 7 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.html: -------------------------------------------------------------------------------- 1 |

In Markdown 1.0.0 and earlier. Version 2 | 8. This line turns into a list item. 3 | Because a hard-wrapped line in the 4 | middle of a paragraph looked like a 5 | list item.

6 | 7 |

Here's one with a bullet. 8 | * criminey.

9 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.text: -------------------------------------------------------------------------------- 1 | In Markdown 1.0.0 and earlier. Version 2 | 8. This line turns into a list item. 3 | Because a hard-wrapped line in the 4 | middle of a paragraph looked like a 5 | list item. 6 | 7 | Here's one with a bullet. 8 | * criminey. 9 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/horizontal_rules.html: -------------------------------------------------------------------------------- 1 |

Dashes:

2 | 3 |
4 | 5 |
6 | 7 |
8 | 9 |
10 | 11 |
---
12 | 
13 | 14 |
15 | 16 |
17 | 18 |
19 | 20 |
21 | 22 |
- - -
23 | 
24 | 25 |

Asterisks:

26 | 27 |
28 | 29 |
30 | 31 |
32 | 33 |
34 | 35 |
***
36 | 
37 | 38 |
39 | 40 |
41 | 42 |
43 | 44 |
45 | 46 |
* * *
47 | 
48 | 49 |

Underscores:

50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
___
60 | 
61 | 62 |
63 | 64 |
65 | 66 |
67 | 68 |
69 | 70 |
_ _ _
71 | 
72 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/horizontal_rules.text: -------------------------------------------------------------------------------- 1 | Dashes: 2 | 3 | --- 4 | 5 | --- 6 | 7 | --- 8 | 9 | --- 10 | 11 | --- 12 | 13 | - - - 14 | 15 | - - - 16 | 17 | - - - 18 | 19 | - - - 20 | 21 | - - - 22 | 23 | 24 | Asterisks: 25 | 26 | *** 27 | 28 | *** 29 | 30 | *** 31 | 32 | *** 33 | 34 | *** 35 | 36 | * * * 37 | 38 | * * * 39 | 40 | * * * 41 | 42 | * * * 43 | 44 | * * * 45 | 46 | 47 | Underscores: 48 | 49 | ___ 50 | 51 | ___ 52 | 53 | ___ 54 | 55 | ___ 56 | 57 | ___ 58 | 59 | _ _ _ 60 | 61 | _ _ _ 62 | 63 | _ _ _ 64 | 65 | _ _ _ 66 | 67 | _ _ _ 68 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/inline_html_advanced.html: -------------------------------------------------------------------------------- 1 |

Simple block on one line:

2 | 3 |
foo
4 | 5 |

And nested without indentation:

6 | 7 |
8 |
9 |
10 | foo 11 |
12 |
13 |
14 |
bar
15 |
16 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/inline_html_advanced.text: -------------------------------------------------------------------------------- 1 | Simple block on one line: 2 | 3 |
foo
4 | 5 | And nested without indentation: 6 | 7 |
8 |
9 |
10 | foo 11 |
12 |
13 |
14 |
bar
15 |
16 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/inline_html_comments.html: -------------------------------------------------------------------------------- 1 |

Paragraph one.

2 | 3 | 4 | 5 | 8 | 9 |

Paragraph two.

10 | 11 | 12 | 13 |

The end.

14 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/inline_html_comments.text: -------------------------------------------------------------------------------- 1 | Paragraph one. 2 | 3 | 4 | 5 | 8 | 9 | Paragraph two. 10 | 11 | 12 | 13 | The end. 14 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/links_inline_style.html: -------------------------------------------------------------------------------- 1 |

Just a URL.

2 | 3 |

URL and title.

4 | 5 |

URL and title.

6 | 7 |

URL and title.

8 | 9 |

URL and title.

10 | 11 |

URL and title.

12 | 13 |

URL and title.

14 | 15 |

Empty.

16 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/links_inline_style.text: -------------------------------------------------------------------------------- 1 | Just a [URL](/url/). 2 | 3 | [URL and title](/url/ "title"). 4 | 5 | [URL and title](/url/ "title preceded by two spaces"). 6 | 7 | [URL and title](/url/ "title preceded by a tab"). 8 | 9 | [URL and title](/url/ "title has spaces afterward" ). 10 | 11 | [URL and title]( /url/has space ). 12 | 13 | [URL and title]( /url/has space/ "url has space and title"). 14 | 15 | [Empty](). 16 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/links_shortcut_references.html: -------------------------------------------------------------------------------- 1 |

This is the simple case.

2 | 3 |

This one has a line 4 | break.

5 | 6 |

This one has a line 7 | break with a line-ending space.

8 | 9 |

this and the other

10 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/links_shortcut_references.text: -------------------------------------------------------------------------------- 1 | This is the [simple case]. 2 | 3 | [simple case]: /simple 4 | 5 | 6 | 7 | This one has a [line 8 | break]. 9 | 10 | This one has a [line 11 | break] with a line-ending space. 12 | 13 | [line break]: /foo 14 | 15 | 16 | [this] [that] and the [other] 17 | 18 | [this]: /this 19 | [that]: /that 20 | [other]: /other 21 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/literal_quotes_in_titles.html: -------------------------------------------------------------------------------- 1 |

Foo bar.

2 | 3 |

Foo bar.

4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/literal_quotes_in_titles.text: -------------------------------------------------------------------------------- 1 | Foo [bar][]. 2 | 3 | Foo [bar](/url/ "Title with "quotes" inside"). 4 | 5 | 6 | [bar]: /url/ "Title with "quotes" inside" 7 | 8 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/nested_blockquotes.html: -------------------------------------------------------------------------------- 1 |
2 |

foo

3 | 4 |
5 |

bar

6 |
7 | 8 |

foo

9 |
10 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/nested_blockquotes.text: -------------------------------------------------------------------------------- 1 | > foo 2 | > 3 | > > bar 4 | > 5 | > foo 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/strong_and_em_together.html: -------------------------------------------------------------------------------- 1 |

This is strong and em.

2 | 3 |

So is this word.

4 | 5 |

This is strong and em.

6 | 7 |

So is this word.

8 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/strong_and_em_together.text: -------------------------------------------------------------------------------- 1 | ***This is strong and em.*** 2 | 3 | So is ***this*** word. 4 | 5 | ___This is strong and em.___ 6 | 7 | So is ___this___ word. 8 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/tabs.html: -------------------------------------------------------------------------------- 1 |
    2 |
  • this is a list item 3 | indented with tabs

  • 4 |
  • this is a list item 5 | indented with spaces

  • 6 |
7 | 8 |

Code:

9 | 10 |
this code block is indented by one tab
11 | 
12 | 13 |

And:

14 | 15 |
    this code block is indented by two tabs
16 | 
17 | 18 |

And:

19 | 20 |
+   this is an example list item
21 |     indented with tabs
22 | 
23 | +   this is an example list item
24 |     indented with spaces
25 | 
26 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/tabs.text: -------------------------------------------------------------------------------- 1 | + this is a list item 2 | indented with tabs 3 | 4 | + this is a list item 5 | indented with spaces 6 | 7 | Code: 8 | 9 | this code block is indented by one tab 10 | 11 | And: 12 | 13 | this code block is indented by two tabs 14 | 15 | And: 16 | 17 | + this is an example list item 18 | indented with tabs 19 | 20 | + this is an example list item 21 | indented with spaces 22 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/tidyness.html: -------------------------------------------------------------------------------- 1 |
2 |

A list within a blockquote:

3 |
    4 |
  • asterisk 1
  • 5 |
  • asterisk 2
  • 6 |
  • asterisk 3
  • 7 |
8 |
9 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/original/tidyness.text: -------------------------------------------------------------------------------- 1 | > A list within a blockquote: 2 | > 3 | > * asterisk 1 4 | > * asterisk 2 5 | > * asterisk 3 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/amps_and_angles_encoding.html: -------------------------------------------------------------------------------- 1 |

AT&T has an ampersand in their name.

2 | 3 |

AT&T is another way to write it.

4 | 5 |

This & that.

6 | 7 |

4 < 5.

8 | 9 |

6 > 5.

10 | 11 |

Here's a link with an ampersand in the URL.

12 | 13 |

Here's a link with an amersand in the link text: AT&T.

14 | 15 |

Here's an inline link.

16 | 17 |

Here's an inline link.

18 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/amps_and_angles_encoding.text: -------------------------------------------------------------------------------- 1 | AT&T has an ampersand in their name. 2 | 3 | AT&T is another way to write it. 4 | 5 | This & that. 6 | 7 | 4 < 5. 8 | 9 | 6 > 5. 10 | 11 | Here's a [link] [1] with an ampersand in the URL. 12 | 13 | Here's a link with an amersand in the link text: [AT&T] [2]. 14 | 15 | Here's an inline [link](/script?foo=1&bar=2). 16 | 17 | Here's an inline [link](). 18 | 19 | 20 | [1]: http://example.com/?foo=1&bar=2 21 | [2]: http://att.com/ "AT&T" 22 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/auto_links.html: -------------------------------------------------------------------------------- 1 |

Link: http://example.com/.

2 | 3 |

With an ampersand: http://example.com/?foo=1&bar=2

4 | 5 | 10 | 11 |
12 |

Blockquoted: http://example.com/

13 |
14 | 15 |

Auto-links should not occur here: <http://example.com/>

16 | 17 |
or here: <http://example.com/>
18 | 
19 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/auto_links.text: -------------------------------------------------------------------------------- 1 | Link: . 2 | 3 | With an ampersand: 4 | 5 | * In a list? 6 | * 7 | * It should. 8 | 9 | > Blockquoted: 10 | 11 | Auto-links should not occur here: `` 12 | 13 | or here: 14 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/autolink_lines.html: -------------------------------------------------------------------------------- 1 |

hello world 2 | http://example.com 3 |

4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/autolink_lines.text: -------------------------------------------------------------------------------- 1 | hello world 2 | 3 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/blockquote_list_item.html: -------------------------------------------------------------------------------- 1 |

This fails in markdown.pl and upskirt:

2 | 3 |
  • hello

    world

4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/blockquote_list_item.text: -------------------------------------------------------------------------------- 1 | This fails in markdown.pl and upskirt: 2 | 3 | * hello 4 | > world 5 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/blockquotes_with_code_blocks.html: -------------------------------------------------------------------------------- 1 |
2 |

Example:

3 | 4 |
sub status {
 5 |     print "working";
 6 | }
 7 | 
8 | 9 |

Or:

10 | 11 |
sub status {
12 |     return "working";
13 | }
14 | 
15 |
16 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/blockquotes_with_code_blocks.text: -------------------------------------------------------------------------------- 1 | > Example: 2 | > 3 | > sub status { 4 | > print "working"; 5 | > } 6 | > 7 | > Or: 8 | > 9 | > sub status { 10 | > return "working"; 11 | > } 12 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/case_insensitive_refs.html: -------------------------------------------------------------------------------- 1 |

hi

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/case_insensitive_refs.text: -------------------------------------------------------------------------------- 1 | [hi] 2 | 3 | [HI]: /url 4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/code_blocks.html: -------------------------------------------------------------------------------- 1 |
code block on the first line
 2 | 
3 | 4 |

Regular text.

5 | 6 |
code block indented by spaces
 7 | 
8 | 9 |

Regular text.

10 | 11 |
the lines in this block  
12 | all contain trailing spaces  
13 | 
14 | 15 |

Regular Text.

16 | 17 |
code block on the last line
18 | 
19 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/code_blocks.text: -------------------------------------------------------------------------------- 1 | code block on the first line 2 | 3 | Regular text. 4 | 5 | code block indented by spaces 6 | 7 | Regular text. 8 | 9 | the lines in this block 10 | all contain trailing spaces 11 | 12 | Regular Text. 13 | 14 | code block on the last line 15 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/code_spans.html: -------------------------------------------------------------------------------- 1 |

<test a=" content of attribute ">

2 | 3 |

Fix for backticks within HTML tag: like this

4 | 5 |

Here's how you put `backticks` in a code span.

6 | 7 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/code_spans.text: -------------------------------------------------------------------------------- 1 | `` 2 | 3 | Fix for backticks within HTML tag: like this 4 | 5 | Here's how you put `` `backticks` `` in a code span. 6 | 7 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/def_blocks.html: -------------------------------------------------------------------------------- 1 |
2 |

hello 3 | [1]: hello

4 |
5 | 6 |
7 | 8 |
9 |

hello

10 |
11 | 12 | 13 |
    14 |
  • hello
  • 15 |
  • [3]: hello
  • 16 |
17 | 18 | 19 |
    20 |
  • hello
  • 21 |
22 | 23 | 24 |
25 |

foo 26 | bar 27 | bar

28 |
29 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/def_blocks.text: -------------------------------------------------------------------------------- 1 | > hello 2 | > [1]: hello 3 | 4 | * * * 5 | 6 | > hello 7 | [2]: hello 8 | 9 | 10 | * hello 11 | * [3]: hello 12 | 13 | 14 | * hello 15 | [4]: hello 16 | 17 | 18 | > foo 19 | > bar 20 | [1]: foo 21 | > bar 22 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/double_link.html: -------------------------------------------------------------------------------- 1 |

Already linked: http://example.com/.

2 | 3 |

Already linked: http://example.com/.

4 | 5 |

Already linked: http://example.com/.

6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/double_link.text: -------------------------------------------------------------------------------- 1 |

Already linked: http://example.com/.

2 | 3 | Already linked: [http://example.com/](http://example.com/). 4 | 5 | Already linked: **http://example.com/**. 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/escaped_angles.html: -------------------------------------------------------------------------------- 1 |

>

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/escaped_angles.text: -------------------------------------------------------------------------------- 1 | \> 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_break.breaks.html: -------------------------------------------------------------------------------- 1 |

Look at the
pretty line
breaks.

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_break.breaks.text: -------------------------------------------------------------------------------- 1 | Look at the 2 | pretty line 3 | breaks. 4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_code.html: -------------------------------------------------------------------------------- 1 |
var a = 'hello';
 2 | console.log(a + ' world');
3 |
echo "hello, ${WORLD}"
4 |
Q: What do you call a tall person who sells stolen goods?
5 |
A longfence!
6 |

How about an empty code block?

7 |
8 |

How about a code block with only an empty line?

9 |

10 | 
11 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_code.text: -------------------------------------------------------------------------------- 1 | ``` js 2 | var a = 'hello'; 3 | console.log(a + ' world'); 4 | ``` 5 | 6 | ~~~bash 7 | echo "hello, ${WORLD}" 8 | ~~~ 9 | 10 | ```````longfence 11 | Q: What do you call a tall person who sells stolen goods? 12 | ``````` 13 | 14 | ~~~~~~~~~~ ManyTildes 15 | A longfence! 16 | ~~~~~~~~~~ 17 | 18 | How about an empty code block? 19 | 20 | ```js 21 | ``` 22 | 23 | How about a code block with only an empty line? 24 | 25 | ```js 26 | 27 | ``` 28 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_code_hr_list.text: -------------------------------------------------------------------------------- 1 | ## foo 2 | 3 | 1. bar: 4 | 5 | > - one 6 | - two 7 | - three 8 | - four 9 | - five 10 | 11 | 1. foo: 12 | 13 | ``` 14 | line 1 15 | line 2 16 | ``` 17 | 18 | 1. foo: 19 | 20 | 1. foo `bar` bar: 21 | 22 | ``` erb 23 | some code here 24 | ``` 25 | 26 | 2. foo `bar` bar: 27 | 28 | ``` erb 29 | foo 30 | --- 31 | bar 32 | --- 33 | foo 34 | bar 35 | ``` 36 | 37 | 3. foo `bar` bar: 38 | 39 | ``` html 40 | --- 41 | foo 42 | foo 43 | --- 44 | bar 45 | ``` 46 | 47 | 4. foo `bar` bar: 48 | 49 | foo 50 | --- 51 | bar 52 | 53 | 5. foo 54 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_del.html: -------------------------------------------------------------------------------- 1 |

hello hi world

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_del.text: -------------------------------------------------------------------------------- 1 | hello ~~hi~~ world 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_em.html: -------------------------------------------------------------------------------- 1 |

These words should_not_be_emphasized.

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_em.text: -------------------------------------------------------------------------------- 1 | These words should_not_be_emphasized. 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_hashtag.gfm.html: -------------------------------------------------------------------------------- 1 |

#header

2 | 3 |

header1

4 | 5 |

header2

6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_hashtag.gfm.text: -------------------------------------------------------------------------------- 1 | #header 2 | 3 | # header1 4 | 5 | # header2 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_hashtag.nogfm.html: -------------------------------------------------------------------------------- 1 |

header

2 | 3 |

header1

4 | 5 |

header2

6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_hashtag.nogfm.text: -------------------------------------------------------------------------------- 1 | #header 2 | 3 | # header1 4 | 5 | # header2 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_links.html: -------------------------------------------------------------------------------- 1 |

This should be a link: 2 | http://example.com/hello-world.

3 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_links.text: -------------------------------------------------------------------------------- 1 | This should be a link: http://example.com/hello-world. 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/gfm_tables.text: -------------------------------------------------------------------------------- 1 | | Heading 1 | Heading 2 2 | | --------- | --------- 3 | | Cell 1 | Cell 2 4 | | Cell 3 | Cell 4 5 | 6 | | Header 1 | Header 2 | Header 3 | Header 4 | 7 | | :------: | -------: | :------- | -------- | 8 | | Cell 1 | Cell 2 | Cell 3 | Cell 4 | 9 | | Cell 5 | Cell 6 | Cell 7 | Cell 8 | 10 | 11 | Test code 12 | 13 | Header 1 | Header 2 14 | -------- | -------- 15 | Cell 1 | Cell 2 16 | Cell 3 | Cell 4 17 | 18 | Header 1|Header 2|Header 3|Header 4 19 | :-------|:------:|-------:|-------- 20 | Cell 1 |Cell 2 |Cell 3 |Cell 4 21 | *Cell 5*|Cell 6 |Cell 7 |Cell 8 22 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/hard_wrapped_paragraphs_with_list_like_lines.nogfm.html: -------------------------------------------------------------------------------- 1 |

In Markdown 1.0.0 and earlier. Version 2 | 8. This line turns into a list item. 3 | Because a hard-wrapped line in the 4 | middle of a paragraph looked like a 5 | list item.

6 | 7 |

Here's one with a bullet. 8 | * criminey.

9 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/hard_wrapped_paragraphs_with_list_like_lines.nogfm.text: -------------------------------------------------------------------------------- 1 | In Markdown 1.0.0 and earlier. Version 2 | 8. This line turns into a list item. 3 | Because a hard-wrapped line in the 4 | middle of a paragraph looked like a 5 | list item. 6 | 7 | Here's one with a bullet. 8 | * criminey. 9 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/horizontal_rules.html: -------------------------------------------------------------------------------- 1 |

Dashes:

2 | 3 |
4 | 5 |
6 | 7 |
8 | 9 |
10 | 11 |
---
12 | 
13 | 14 |
15 | 16 |
17 | 18 |
19 | 20 |
21 | 22 |
- - -
23 | 
24 | 25 |

Asterisks:

26 | 27 |
28 | 29 |
30 | 31 |
32 | 33 |
34 | 35 |
***
36 | 
37 | 38 |
39 | 40 |
41 | 42 |
43 | 44 |
45 | 46 |
* * *
47 | 
48 | 49 |

Underscores:

50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
___
60 | 
61 | 62 |
63 | 64 |
65 | 66 |
67 | 68 |
69 | 70 |
_ _ _
71 | 
72 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/horizontal_rules.text: -------------------------------------------------------------------------------- 1 | Dashes: 2 | 3 | --- 4 | 5 | --- 6 | 7 | --- 8 | 9 | --- 10 | 11 | --- 12 | 13 | - - - 14 | 15 | - - - 16 | 17 | - - - 18 | 19 | - - - 20 | 21 | - - - 22 | 23 | 24 | Asterisks: 25 | 26 | *** 27 | 28 | *** 29 | 30 | *** 31 | 32 | *** 33 | 34 | *** 35 | 36 | * * * 37 | 38 | * * * 39 | 40 | * * * 41 | 42 | * * * 43 | 44 | * * * 45 | 46 | 47 | Underscores: 48 | 49 | ___ 50 | 51 | ___ 52 | 53 | ___ 54 | 55 | ___ 56 | 57 | ___ 58 | 59 | _ _ _ 60 | 61 | _ _ _ 62 | 63 | _ _ _ 64 | 65 | _ _ _ 66 | 67 | _ _ _ 68 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/hr_list_break.html: -------------------------------------------------------------------------------- 1 |
    2 |
  • hello 3 | world
  • 4 |
  • how 5 | are
  • 6 |
7 | 8 |
9 | 10 |

you today?

11 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/hr_list_break.text: -------------------------------------------------------------------------------- 1 | * hello 2 | world 3 | * how 4 | are 5 | * * * 6 | you today? 7 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/inline_html_advanced.html: -------------------------------------------------------------------------------- 1 |

Simple block on one line:

2 | 3 |
foo
4 | 5 |

And nested without indentation:

6 | 7 |
8 |
9 |
10 | foo 11 |
12 |
13 |
14 |
bar
15 |
16 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/inline_html_advanced.text: -------------------------------------------------------------------------------- 1 | Simple block on one line: 2 | 3 |
foo
4 | 5 | And nested without indentation: 6 | 7 |
8 |
9 |
10 | foo 11 |
12 |
13 |
14 |
bar
15 |
16 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/inline_html_comments.html: -------------------------------------------------------------------------------- 1 |

Paragraph one.

2 | 3 | 4 | 5 | 8 | 9 |

Paragraph two.

10 | 11 | 12 | 13 |

The end.

14 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/inline_html_comments.text: -------------------------------------------------------------------------------- 1 | Paragraph one. 2 | 3 | 4 | 5 | 8 | 9 | Paragraph two. 10 | 11 | 12 | 13 | The end. 14 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/lazy_blockquotes.html: -------------------------------------------------------------------------------- 1 |
2 |

hi there 3 | bud

4 |
5 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/lazy_blockquotes.text: -------------------------------------------------------------------------------- 1 | > hi there 2 | bud 3 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/links_inline_style.html: -------------------------------------------------------------------------------- 1 |

Just a URL.

2 | 3 |

URL and title.

4 | 5 |

URL and title.

6 | 7 |

URL and title.

8 | 9 |

URL and title.

10 | 11 |

URL and title.

12 | 13 |

URL and title.

14 | 15 |

Empty.

16 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/links_inline_style.text: -------------------------------------------------------------------------------- 1 | Just a [URL](/url/). 2 | 3 | [URL and title](/url/ "title"). 4 | 5 | [URL and title](/url/ "title preceded by two spaces"). 6 | 7 | [URL and title](/url/ "title preceded by a tab"). 8 | 9 | [URL and title](/url/ "title has spaces afterward" ). 10 | 11 | [URL and title]( /url/has space ). 12 | 13 | [URL and title]( /url/has space/ "url has space and title"). 14 | 15 | [Empty](). 16 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/links_shortcut_references.html: -------------------------------------------------------------------------------- 1 |

This is the simple case.

2 | 3 |

This one has a line 4 | break.

5 | 6 |

This one has a line 7 | break with a line-ending space.

8 | 9 |

this and the other

10 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/links_shortcut_references.text: -------------------------------------------------------------------------------- 1 | This is the [simple case]. 2 | 3 | [simple case]: /simple 4 | 5 | 6 | 7 | This one has a [line 8 | break]. 9 | 10 | This one has a [line 11 | break] with a line-ending space. 12 | 13 | [line break]: /foo 14 | 15 | 16 | [this] [that] and the [other] 17 | 18 | [this]: /this 19 | [that]: /that 20 | [other]: /other 21 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/list_item_text.html: -------------------------------------------------------------------------------- 1 |
  • item1

    • item2

    text

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/list_item_text.text: -------------------------------------------------------------------------------- 1 | * item1 2 | 3 | * item2 4 | 5 | text 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/literal_quotes_in_titles.html: -------------------------------------------------------------------------------- 1 |

Foo bar.

2 | 3 |

Foo bar.

4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/literal_quotes_in_titles.text: -------------------------------------------------------------------------------- 1 | Foo [bar][]. 2 | 3 | Foo [bar](/url/ "Title with "quotes" inside"). 4 | 5 | 6 | [bar]: /url/ "Title with "quotes" inside" 7 | 8 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/loose_lists.text: -------------------------------------------------------------------------------- 1 | * hello 2 | world 3 | 4 | how 5 | are 6 | * you 7 | 8 | 9 | 10 | better behavior: 11 | 12 | * hello 13 | * world 14 | how 15 | 16 | are 17 | you 18 | 19 | * today 20 | * hi 21 | 22 | 23 | 24 | * hello 25 | 26 | * world 27 | * hi 28 | 29 | 30 | 31 | * hello 32 | * world 33 | 34 | * hi 35 | 36 | 37 | 38 | * hello 39 | * world 40 | 41 | how 42 | * hi 43 | 44 | 45 | 46 | * hello 47 | * world 48 | * how 49 | 50 | are 51 | 52 | 53 | 54 | * hello 55 | * world 56 | 57 | * how 58 | 59 | are 60 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/nested_blockquotes.html: -------------------------------------------------------------------------------- 1 |
2 |

foo

3 | 4 |
5 |

bar

6 |
7 | 8 |

foo

9 |
10 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/nested_blockquotes.text: -------------------------------------------------------------------------------- 1 | > foo 2 | > 3 | > > bar 4 | > 5 | > foo 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/nested_code.html: -------------------------------------------------------------------------------- 1 |

hi ther `` ok ```

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/nested_code.text: -------------------------------------------------------------------------------- 1 | ````` hi ther `` ok ``` ````` 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/nested_em.html: -------------------------------------------------------------------------------- 1 |

test test test

2 | 3 |

test test test

4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/nested_em.text: -------------------------------------------------------------------------------- 1 | *test **test** test* 2 | 3 | _test __test__ test_ 4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/nested_square_link.html: -------------------------------------------------------------------------------- 1 |

the ] character

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/nested_square_link.text: -------------------------------------------------------------------------------- 1 | [the `]` character](/url) 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/not_a_link.html: -------------------------------------------------------------------------------- 1 |

[test](not a link)

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/not_a_link.text: -------------------------------------------------------------------------------- 1 | \[test](not a link) 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/ref_paren.html: -------------------------------------------------------------------------------- 1 |

hi

2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/ref_paren.text: -------------------------------------------------------------------------------- 1 | [hi] 2 | 3 | [hi]: /url (there) 4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/same_bullet.html: -------------------------------------------------------------------------------- 1 |
    2 |
  • test
  • 3 |
  • test
  • 4 |
  • test
  • 5 |
6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/same_bullet.text: -------------------------------------------------------------------------------- 1 | * test 2 | + test 3 | - test 4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/strong_and_em_together.html: -------------------------------------------------------------------------------- 1 |

This is strong and em.

2 | 3 |

So is this word.

4 | 5 |

This is strong and em.

6 | 7 |

So is this word.

8 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/strong_and_em_together.text: -------------------------------------------------------------------------------- 1 | ***This is strong and em.*** 2 | 3 | So is ***this*** word. 4 | 5 | ___This is strong and em.___ 6 | 7 | So is ___this___ word. 8 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/tabs.html: -------------------------------------------------------------------------------- 1 |
    2 |
  • this is a list item 3 | indented with tabs

  • 4 |
  • this is a list item 5 | indented with spaces

  • 6 |
7 | 8 |

Code:

9 | 10 |
this code block is indented by one tab
11 | 
12 | 13 |

And:

14 | 15 |
    this code block is indented by two tabs
16 | 
17 | 18 |

And:

19 | 20 |
+   this is an example list item
21 |     indented with tabs
22 | 
23 | +   this is an example list item
24 |     indented with spaces
25 | 
26 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/tabs.text: -------------------------------------------------------------------------------- 1 | + this is a list item 2 | indented with tabs 3 | 4 | + this is a list item 5 | indented with spaces 6 | 7 | Code: 8 | 9 | this code block is indented by one tab 10 | 11 | And: 12 | 13 | this code block is indented by two tabs 14 | 15 | And: 16 | 17 | + this is an example list item 18 | indented with tabs 19 | 20 | + this is an example list item 21 | indented with spaces 22 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/text.smartypants.html: -------------------------------------------------------------------------------- 1 |

Hello world ‘how’ “are” you – today…

2 | 3 |

“It’s a more ‘challenging’ smartypants test…”

4 | 5 |

‘And,’ as a bonus — “one 6 | multiline” test!

7 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/text.smartypants.text: -------------------------------------------------------------------------------- 1 | Hello world 'how' "are" you -- today... 2 | 3 | "It's a more 'challenging' smartypants test..." 4 | 5 | 'And,' as a bonus --- "one 6 | multiline" test! 7 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/tidyness.html: -------------------------------------------------------------------------------- 1 |
2 |

A list within a blockquote:

3 |
    4 |
  • asterisk 1
  • 5 |
  • asterisk 2
  • 6 |
  • asterisk 3
  • 7 |
8 |
9 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/tidyness.text: -------------------------------------------------------------------------------- 1 | > A list within a blockquote: 2 | > 3 | > * asterisk 1 4 | > * asterisk 2 5 | > * asterisk 3 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/toplevel_paragraphs.gfm.html: -------------------------------------------------------------------------------- 1 |

hello world 2 | how are you 3 | how are you

4 | 5 |

hello world

6 |
how are you
7 | 8 |

hello world

9 |
10 | 11 |

hello world

12 |

how are you

13 | 14 |

hello world

15 |

how are you

16 | 17 |

hello world

18 |

how are you

19 | 20 |

hello world

21 |
  • how are you
22 | 23 |

hello world

24 |
how are you
25 | 26 |

hello world 27 | how are you

28 | 29 |

hello world 30 |

31 | 32 |
hello
33 | 34 |

hello

35 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/toplevel_paragraphs.gfm.text: -------------------------------------------------------------------------------- 1 | hello world 2 | how are you 3 | how are you 4 | 5 | hello world 6 | ``` 7 | how are you 8 | ``` 9 | 10 | hello world 11 | * * * 12 | 13 | hello world 14 | # how are you 15 | 16 | hello world 17 | how are you 18 | =========== 19 | 20 | hello world 21 | > how are you 22 | 23 | hello world 24 | * how are you 25 | 26 | hello world 27 |
how are you
28 | 29 | hello world 30 | how are you 31 | 32 | hello [world][how] 33 | [how]: /are/you 34 | 35 |
hello
36 | 37 | hello 38 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/tricky_list.html: -------------------------------------------------------------------------------- 1 |

hello world

2 | 3 |
    4 |
  • hello world
  • 5 |
6 | 7 |

hello world

8 | 9 |
    10 |
  • hello world
  • 11 |
12 | 13 |

hello world

14 | 15 |
    16 |
  • Hello world
  • 17 |
18 | 19 |

hello world

20 | 21 |
    22 |
  • hello world
  • 23 |
24 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/marked/test/tests/tricky_list.text: -------------------------------------------------------------------------------- 1 | **hello** _world_ 2 | 3 | * hello world 4 | 5 | **hello** _world_ 6 | 7 | * hello world 8 | 9 | **hello** _world_ 10 | 11 | * Hello world 12 | 13 | **hello** _world_ 14 | 15 | * hello world 16 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/mousetrap/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/mousetrap/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mousetrap", 3 | "version": "1.6.0", 4 | "description": "Simple library for handling keyboard shortcuts", 5 | "main": "mousetrap.js", 6 | "directories": { 7 | "test": "tests" 8 | }, 9 | "scripts": { 10 | "test": "grunt mocha" 11 | }, 12 | "repository": { 13 | "type": "git", 14 | "url": "git://github.com/ccampbell/mousetrap.git" 15 | }, 16 | "keywords": [ 17 | "keyboard", 18 | "shortcuts", 19 | "events" 20 | ], 21 | "author": "Craig Campbell", 22 | "license": "Apache 2.0", 23 | "gitHead": "c202a0bd4967d5a3064f9cb376db51dec9345336", 24 | "readmeFilename": "README.md", 25 | "devDependencies": { 26 | "grunt": "~0.4.1", 27 | "grunt-complexity": "~0.1.2", 28 | "grunt-mocha": "~0.3.1" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/mousetrap/plugins/README.md: -------------------------------------------------------------------------------- 1 | # Plugins 2 | 3 | Plugins extend the functionality of Mousetrap. To use a plugin just include the plugin after mousetrap. 4 | 5 | ```html 6 | 7 | 8 | ``` 9 | 10 | ## Bind dictionary 11 | 12 | Allows you to make multiple bindings in a single ``Mousetrap.bind`` call. 13 | 14 | ## Global bind 15 | 16 | Allows you to set global bindings that work even inside of input fields. 17 | 18 | ## Pause/unpause 19 | 20 | Allows you to temporarily prevent Mousetrap events from firing. 21 | 22 | ## Record 23 | 24 | Allows you to capture a keyboard shortcut or sequence defined by a user. 25 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/mousetrap/plugins/bind-dictionary/README.md: -------------------------------------------------------------------------------- 1 | # Bind Dictionary 2 | 3 | This extension overwrites the default bind behavior and allows you to bind multiple combinations in a single bind call. 4 | 5 | Usage looks like: 6 | 7 | ```javascript 8 | Mousetrap.bind({ 9 | 'a': function() { console.log('a'); }, 10 | 'b': function() { console.log('b'); } 11 | }); 12 | ``` 13 | 14 | You can optionally pass in ``keypress``, ``keydown`` or ``keyup`` as a second argument. 15 | 16 | Other bind calls work the same way as they do by default. 17 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/mousetrap/plugins/bind-dictionary/mousetrap-bind-dictionary.min.js: -------------------------------------------------------------------------------- 1 | (function(b){var c=b.prototype.bind,a;b.prototype.bind=function(){a=arguments;if("string"==typeof a[0]||a[0]instanceof Array)return c.call(this,a[0],a[1],a[2]);for(var b in a[0])a[0].hasOwnProperty(b)&&c.call(this,b,a[0][b],a[1])};b.init()})(Mousetrap); 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/mousetrap/plugins/global-bind/README.md: -------------------------------------------------------------------------------- 1 | # Global Bind 2 | 3 | This extension allows you to specify keyboard events that will work anywhere including inside textarea/input fields. 4 | 5 | Usage looks like: 6 | 7 | ```javascript 8 | Mousetrap.bindGlobal('ctrl+s', function() { 9 | _save(); 10 | }); 11 | ``` 12 | 13 | This means that a keyboard event bound using ``Mousetrap.bind`` will only work outside of form input fields, but using ``Moustrap.bindGlobal`` will work in both places. 14 | 15 | If you wanted to create keyboard shortcuts that only work when you are inside a specific textarea you can do that too by creating your own extension. 16 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/mousetrap/plugins/global-bind/mousetrap-global-bind.min.js: -------------------------------------------------------------------------------- 1 | (function(a){var c={},d=a.prototype.stopCallback;a.prototype.stopCallback=function(e,b,a,f){return this.paused?!0:c[a]||c[f]?!1:d.call(this,e,b,a)};a.prototype.bindGlobal=function(a,b,d){this.bind(a,b,d);if(a instanceof Array)for(b=0;bRecord 7 | 8 | 16 | ``` 17 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/mousetrap/plugins/record/mousetrap-record.min.js: -------------------------------------------------------------------------------- 1 | (function(d){function n(b,a,h){if(this.recording)if("keydown"==h.type){1===b.length&&g&&k();for(i=0;ib?1:-1}),b[a]= 2 | b[a].join("+")}function q(){f&&(r(e),f(e));e=[];f=null;c=[]}var e=[],f=null,c=[],g=!1,m=null,p=d.prototype.handleKey;d.prototype.record=function(b){var a=this;a.recording=!0;f=function(){a.recording=!1;b.apply(a,arguments)}};d.prototype.handleKey=function(){n.apply(this,arguments)};d.init()})(Mousetrap); 3 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/mousetrap/plugins/record/tests/jelly.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: helvetica, arial, sans-serif; 3 | line-height: 20px; 4 | } 5 | 6 | kbd { 7 | background-color: #ccc; 8 | display: inline-block; 9 | padding: 0.5ex 1em; 10 | } 11 | 12 | .test-record-result { 13 | margin-top: 20px; 14 | } 15 | 16 | .test-record-result span:nth-child(n+2) { 17 | margin-left: 10px; 18 | } 19 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = tab 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | mock.png 3 | .*.sw* 4 | .build* 5 | jquery.fn.* 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "strict": true, 3 | "newcap": false, 4 | "node": true, 5 | "expr": true, 6 | "supernew": true, 7 | "laxbreak": true, 8 | "white": true, 9 | "globals": { 10 | "define": true, 11 | "test": true, 12 | "expect": true, 13 | "module": true, 14 | "asyncTest": true, 15 | "start": true, 16 | "ok": true, 17 | "equal": true, 18 | "notEqual": true, 19 | "deepEqual": true, 20 | "window": true, 21 | "document": true, 22 | "performance": true 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Sortable", 3 | "main": [ 4 | "Sortable.js", 5 | "ng-sortable.js", 6 | "knockout-sortable.js", 7 | "react-sortable-mixin.js" 8 | ], 9 | "homepage": "http://rubaxa.github.io/Sortable/", 10 | "authors": [ 11 | "RubaXa " 12 | ], 13 | "description": "Minimalist library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery.", 14 | "keywords": [ 15 | "sortable", 16 | "reorder", 17 | "list", 18 | "html5", 19 | "drag", 20 | "and", 21 | "drop", 22 | "dnd", 23 | "web-components" 24 | ], 25 | "license": "MIT", 26 | "ignore": [ 27 | "node_modules", 28 | "bower_components", 29 | "test", 30 | "tests" 31 | ], 32 | "dependencies": { 33 | "polymer": "Polymer/polymer#~1.1.4", 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Sortable", 3 | "main": "Sortable.js", 4 | "version": "1.3.0", 5 | "homepage": "http://rubaxa.github.io/Sortable/", 6 | "repo": "RubaXa/Sortable", 7 | "authors": [ 8 | "RubaXa " 9 | ], 10 | "description": "Minimalist library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery.", 11 | "keywords": [ 12 | "sortable", 13 | "reorder", 14 | "list", 15 | "html5", 16 | "drag", 17 | "and", 18 | "drop", 19 | "dnd" 20 | ], 21 | "license": "MIT", 22 | "ignore": [ 23 | "node_modules", 24 | "bower_components", 25 | "test", 26 | "tests" 27 | ], 28 | 29 | "scripts": [ 30 | "Sortable.js" 31 | ] 32 | } 33 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/.versions: -------------------------------------------------------------------------------- 1 | base64@1.0.3 2 | binary-heap@1.0.3 3 | blaze@2.1.2 4 | blaze-tools@1.0.3 5 | callback-hook@1.0.3 6 | check@1.0.5 7 | dburles:mongo-collection-instances@0.3.4 8 | ddp@1.1.0 9 | deps@1.0.7 10 | ejson@1.0.6 11 | geojson-utils@1.0.3 12 | html-tools@1.0.4 13 | htmljs@1.0.4 14 | id-map@1.0.3 15 | jquery@1.11.3_2 16 | json@1.0.3 17 | lai:collection-extensions@0.1.4 18 | local-test:rubaxa:sortable@1.2.1 19 | logging@1.0.7 20 | meteor@1.1.6 21 | minifiers@1.1.5 22 | minimongo@1.0.8 23 | mongo@1.1.0 24 | observe-sequence@1.0.6 25 | ordered-dict@1.0.3 26 | random@1.0.3 27 | reactive-var@1.0.5 28 | retry@1.0.3 29 | rubaxa:sortable@1.2.1 30 | spacebars-compiler@1.0.6 31 | templating@1.1.1 32 | tinytest@1.0.5 33 | tracker@1.0.7 34 | underscore@1.0.3 35 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/example/.meteor/.finished-upgraders: -------------------------------------------------------------------------------- 1 | # This file contains information which helps Meteor properly upgrade your 2 | # app when you run 'meteor update'. You should check it into version control 3 | # with your project. 4 | 5 | notices-for-0.9.0 6 | notices-for-0.9.1 7 | 0.9.4-platform-file 8 | notices-for-facebook-graph-api-2 9 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/example/.meteor/.gitignore: -------------------------------------------------------------------------------- 1 | local 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/example/.meteor/.id: -------------------------------------------------------------------------------- 1 | # This file contains a token that is unique to your project. 2 | # Check it into your repository along with the rest of this directory. 3 | # It can be used for purposes such as: 4 | # - ensuring you don't accidentally deploy one app on top of another 5 | # - providing package authors with aggregated statistics 6 | 7 | ir0jg2douy3yo5mehw 8 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/example/.meteor/packages: -------------------------------------------------------------------------------- 1 | # Meteor packages used by this project, one per line. 2 | # 3 | # 'meteor add' and 'meteor remove' will edit this file for you, 4 | # but you can also edit it by hand. 5 | 6 | meteor-platform 7 | autopublish 8 | insecure 9 | rubaxa:sortable 10 | fezvrasta:bootstrap-material-design 11 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/example/.meteor/platforms: -------------------------------------------------------------------------------- 1 | browser 2 | server 3 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/example/.meteor/release: -------------------------------------------------------------------------------- 1 | METEOR@1.1.0.3 2 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/example/model.js: -------------------------------------------------------------------------------- 1 | Types = new Mongo.Collection('types'); 2 | Attributes = new Mongo.Collection('attributes'); 3 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/example/run.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM Sanity check: make sure we're in the directory of the script 3 | set DIR=%~dp0 4 | cd %DIR% 5 | 6 | set PACKAGE_DIRS=..\..\ 7 | meteor run %* 8 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/example/run.sh: -------------------------------------------------------------------------------- 1 | # sanity check: make sure we're in the root directory of the example 2 | cd "$( dirname "$0" )" 3 | 4 | # let Meteor find the local package 5 | PACKAGE_DIRS=../../ meteor run "$@" 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/example/server/sortable-collections.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Sortable.collections = ['attributes']; 4 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/methods-client.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Meteor.methods({ 4 | /** 5 | * Update the sortField of documents with given ids in a collection, incrementing it by incDec 6 | * @param {String} collectionName - name of the collection to update 7 | * @param {String[]} ids - array of document ids 8 | * @param {String} orderField - the name of the order field, usually "order" 9 | * @param {Number} incDec - pass 1 or -1 10 | */ 11 | 'rubaxa:sortable/collection-update': function (collectionName, ids, sortField, incDec) { 12 | var selector = {_id: {$in: ids}}, modifier = {$inc: {}}; 13 | modifier.$inc[sortField] = incDec; 14 | Mongo.Collection.get(collectionName).update(selector, modifier, {multi: true}); 15 | } 16 | }); 17 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/runtests.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM Test Meteor package before publishing to Atmospherejs.com 3 | 4 | REM Sanity check: make sure we're in the directory of the script 5 | set DIR=%~dp0 6 | cd %DIR% 7 | 8 | meteor test-packages ./ %* 9 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/template.html: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/meteor/test.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Tinytest.add('Sortable.is', function (test) { 4 | var items = document.createElement('ul'); 5 | items.innerHTML = '
  • item 1
  • item 2
  • item 3
  • '; 6 | var sortable = new Sortable(items); 7 | test.instanceOf(sortable, Sortable, 'Instantiation OK'); 8 | test.length(sortable.toArray(), 3, 'Three elements'); 9 | }); 10 | -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/st/face-01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/sortable/st/face-01.jpg -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/st/face-02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/sortable/st/face-02.jpg -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/st/face-03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/sortable/st/face-03.jpg -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/st/face-04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/sortable/st/face-04.jpg -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/st/face-05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/sortable/st/face-05.jpg -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/st/face-06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/sortable/st/face-06.jpg -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/st/face-07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/sortable/st/face-07.jpg -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/st/face-08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/sortable/st/face-08.jpg -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/st/face-09.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/sortable/st/face-09.jpg -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/st/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/sortable/st/logo.png -------------------------------------------------------------------------------- /app/static/asserts/bookeditor/plugins/sortable/st/og-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bookeditor/plugins/sortable/st/og-image.png -------------------------------------------------------------------------------- /app/static/asserts/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /app/static/asserts/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /app/static/asserts/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /app/static/asserts/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /app/static/asserts/bootstrap/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /app/static/asserts/cropit/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | bower_components 4 | -------------------------------------------------------------------------------- /app/static/asserts/cropit/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "esnext": true, 3 | "browser": true, 4 | "bitwise": true, 5 | "curly": true, 6 | "eqeqeq": true, 7 | "indent": 2, 8 | "latedef": true, 9 | "noarg": true, 10 | "undef": true, 11 | "unused": true, 12 | "globals": { 13 | "jQuery": true, 14 | "jest": true, 15 | "jasmine": true, 16 | "describe": false, 17 | "xdescribe": false, 18 | "ddescribe": false, 19 | "it": false, 20 | "xit": false, 21 | "iit": false, 22 | "beforeEach": false, 23 | "afterEach": false, 24 | "expect": false, 25 | "pending": false, 26 | "spyOn": false 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/static/asserts/cropit/README.md: -------------------------------------------------------------------------------- 1 | # cropit 2 | 3 | Customizable crop and zoom. 4 | 5 | See demos and docs [here](http://scottcheng.github.io/cropit/). 6 | 7 | Built on top of [Yufei Liu's Image Editor](https://github.com/yufeiliu/simple_image_uploader). 8 | 9 | ## Installation 10 | 11 | ```bash 12 | # Install cropit with bower 13 | $ bower install cropit 14 | 15 | # or with npm 16 | $ npm install cropit 17 | ``` 18 | 19 | ## Development 20 | 21 | * Build: `webpack` 22 | * Watch for changes and rebuild: `webpack -w` 23 | * Test: `npm test` 24 | * Test specific file: `jest ` 25 | * Lint: `npm run jshint -s` 26 | 27 | ## License 28 | 29 | MIT 30 | -------------------------------------------------------------------------------- /app/static/asserts/cropit/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cropit", 3 | "description": "Customizable crop and zoom.", 4 | "version": "0.5.1", 5 | "authors": [ 6 | "Scott Cheng ", 7 | "Yufei Liu " 8 | ], 9 | "main": "dist/jquery.cropit.js", 10 | "keywords": [ 11 | "crop", 12 | "zoom", 13 | "image editor" 14 | ], 15 | "license": "MIT", 16 | "homepage": "http://scottcheng.github.io/cropit", 17 | "ignore": [ 18 | "**/.*", 19 | "node_modules", 20 | "test" 21 | ], 22 | "dependencies": { 23 | "jquery": ">=1.9" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /app/static/asserts/cropit/src/utils.js: -------------------------------------------------------------------------------- 1 | export const exists = (v) => typeof v !== 'undefined'; 2 | 3 | export const round = (x) => +(Math.round(x * 1e2) + 'e-2'); 4 | -------------------------------------------------------------------------------- /app/static/asserts/cropit/test/fixtures/basic.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | cropit 5 | 6 | 7 |
    8 | 9 |
    10 | 11 |
    12 | 13 | 14 | -------------------------------------------------------------------------------- /app/static/asserts/cropit/test/fixtures/image-background.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | cropit 5 | 6 | 7 |
    8 | 9 |
    10 | 11 |
    12 | 13 | 14 | -------------------------------------------------------------------------------- /app/static/asserts/cropit/update_version.js: -------------------------------------------------------------------------------- 1 | #! /usr/local/bin/node 2 | 3 | var sys = require('sys') 4 | var exec = require('child_process').exec; 5 | var fs = require('fs'); 6 | 7 | var version = require('./cropit.jquery.json').version; 8 | 9 | sys.puts('Version = ' + version); 10 | 11 | ['package', 'bower'].forEach(function(f) { 12 | var meta = require('./' + f + '.json'); 13 | meta.version = version; 14 | 15 | fs.writeFileSync(f + '.json', JSON.stringify(meta, null, ' ') + '\n'); 16 | sys.puts('Finished ' + f + '.json'); 17 | }); 18 | 19 | exec('webpack', function (error, stdout, stderr) { sys.puts(stdout) }); 20 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/HELP-US-OUT.txt: -------------------------------------------------------------------------------- 1 | I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project, 2 | Fort Awesome (https://fortawesome.com). It makes it easy to put the perfect icons on your website. Choose from our awesome, 3 | comprehensive icon sets or copy and paste your own. 4 | 5 | Please. Check it out. 6 | 7 | -Dave Gandy 8 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/font-awesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .@{fa-css-prefix}-pull-left { float: left; } 11 | .@{fa-css-prefix}-pull-right { float: right; } 12 | 13 | .@{fa-css-prefix} { 14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .@{fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | @import "screen-reader.less"; 19 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/less/screen-reader.less: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { .sr-only(); } 5 | .sr-only-focusable { .sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .#{$fa-css-prefix}-pull-left { float: left; } 11 | .#{$fa-css-prefix}-pull-right { float: right; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .#{$fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/scss/_screen-reader.scss: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { @include sr-only(); } 5 | .sr-only-focusable { @include sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /app/static/asserts/font-awesome/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | @import "screen-reader"; 19 | -------------------------------------------------------------------------------- /app/static/asserts/googlediff-master/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./javascript/diff_match_patch_uncompressed.js').diff_match_patch; 2 | -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.pyc 3 | node_modules 4 | -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please follow these pull request guidelines: 2 | 3 | 1. Update your fork to the latest upstream version. 4 | 5 | 2. Follow the coding conventions of the original source files (indentation, spaces, brackets layout). 6 | 7 | 3. Code changes must pass JSHint validation with the `.jshintrc` settings of this project. 8 | 9 | 4. Code changes must pass the QUnit tests defined in the `test` folder. 10 | 11 | 5. New features should be covered by accompanying QUnit tests. 12 | 13 | 6. Keep your commits as atomic as possible, i.e. create a new commit for every single bug fix or feature added. 14 | 15 | 7. Always add meaningful commit messages. 16 | -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/cors/result.html: -------------------------------------------------------------------------------- 1 | 2 | 14 | 15 | 16 | 17 | jQuery Iframe Transport Plugin Redirect Page 18 | 19 | 20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/css/demo-ie8.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload Demo CSS Fixes for IE<9 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2013, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | .navigation { 14 | list-style: none; 15 | padding: 0; 16 | margin: 1em 0; 17 | } 18 | .navigation li { 19 | display: inline; 20 | margin-right: 10px; 21 | } 22 | -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/css/jquery.fileupload-noscript.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload Plugin NoScript CSS 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2013, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | .fileinput-button input { 14 | position: static; 15 | opacity: 1; 16 | filter: none; 17 | font-size: inherit; 18 | direction: inherit; 19 | } 20 | .fileinput-button span { 21 | display: none; 22 | } 23 | -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/css/jquery.fileupload-ui-noscript.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload UI Plugin NoScript CSS 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2012, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | .fileinput-button i, 14 | .fileupload-buttonbar .delete, 15 | .fileupload-buttonbar .toggle { 16 | display: none; 17 | } 18 | -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/css/style.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload Plugin CSS Example 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2013, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | body { 14 | padding-top: 60px; 15 | } 16 | -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/jquery-file-upload/img/loading.gif -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/img/progressbar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/jquery-file-upload/img/progressbar.gif -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/server/gae-go/app.yaml: -------------------------------------------------------------------------------- 1 | application: jquery-file-upload 2 | version: 2 3 | runtime: go 4 | api_version: go1 5 | 6 | handlers: 7 | - url: /(favicon\.ico|robots\.txt) 8 | static_files: static/\1 9 | upload: static/(.*) 10 | expiration: '1d' 11 | - url: /.* 12 | script: _go_app 13 | -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/server/gae-go/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/jquery-file-upload/server/gae-go/static/favicon.ico -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/server/gae-go/static/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/server/gae-python/app.yaml: -------------------------------------------------------------------------------- 1 | application: jquery-file-upload 2 | version: 1 3 | runtime: python27 4 | api_version: 1 5 | threadsafe: true 6 | 7 | libraries: 8 | - name: PIL 9 | version: latest 10 | 11 | handlers: 12 | - url: /(favicon\.ico|robots\.txt) 13 | static_files: static/\1 14 | upload: static/(.*) 15 | expiration: '1d' 16 | - url: /.* 17 | script: main.app 18 | -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/server/gae-python/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/asserts/jquery-file-upload/server/gae-python/static/favicon.ico -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/server/gae-python/static/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/server/php/files/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | !.htaccess 4 | -------------------------------------------------------------------------------- /app/static/asserts/jquery-file-upload/server/php/index.php: -------------------------------------------------------------------------------- 1 | 7 | 8 | ``` 9 | 10 | ## Bind dictionary 11 | 12 | Allows you to make multiple bindings in a single ``Mousetrap.bind`` call. 13 | 14 | ## Global bind 15 | 16 | Allows you to set global bindings that work even inside of input fields. 17 | 18 | ## Pause/unpause 19 | 20 | Allows you to temporarily prevent Mousetrap events from firing. 21 | 22 | ## Record 23 | 24 | Allows you to capture a keyboard shortcut or sequence defined by a user. 25 | -------------------------------------------------------------------------------- /app/static/asserts/mousetrap/plugins/bind-dictionary/README.md: -------------------------------------------------------------------------------- 1 | # Bind Dictionary 2 | 3 | This extension overwrites the default bind behavior and allows you to bind multiple combinations in a single bind call. 4 | 5 | Usage looks like: 6 | 7 | ```javascript 8 | Mousetrap.bind({ 9 | 'a': function() { console.log('a'); }, 10 | 'b': function() { console.log('b'); } 11 | }); 12 | ``` 13 | 14 | You can optionally pass in ``keypress``, ``keydown`` or ``keyup`` as a second argument. 15 | 16 | Other bind calls work the same way as they do by default. 17 | -------------------------------------------------------------------------------- /app/static/asserts/mousetrap/plugins/bind-dictionary/mousetrap-bind-dictionary.min.js: -------------------------------------------------------------------------------- 1 | (function(b){var c=b.prototype.bind,a;b.prototype.bind=function(){a=arguments;if("string"==typeof a[0]||a[0]instanceof Array)return c.call(this,a[0],a[1],a[2]);for(var b in a[0])a[0].hasOwnProperty(b)&&c.call(this,b,a[0][b],a[1])};b.init()})(Mousetrap); 2 | -------------------------------------------------------------------------------- /app/static/asserts/mousetrap/plugins/global-bind/README.md: -------------------------------------------------------------------------------- 1 | # Global Bind 2 | 3 | This extension allows you to specify keyboard events that will work anywhere including inside textarea/input fields. 4 | 5 | Usage looks like: 6 | 7 | ```javascript 8 | Mousetrap.bindGlobal('ctrl+s', function() { 9 | _save(); 10 | }); 11 | ``` 12 | 13 | This means that a keyboard event bound using ``Mousetrap.bind`` will only work outside of form input fields, but using ``Moustrap.bindGlobal`` will work in both places. 14 | 15 | If you wanted to create keyboard shortcuts that only work when you are inside a specific textarea you can do that too by creating your own extension. 16 | -------------------------------------------------------------------------------- /app/static/asserts/mousetrap/plugins/global-bind/mousetrap-global-bind.min.js: -------------------------------------------------------------------------------- 1 | (function(a){var c={},d=a.prototype.stopCallback;a.prototype.stopCallback=function(e,b,a,f){return this.paused?!0:c[a]||c[f]?!1:d.call(this,e,b,a)};a.prototype.bindGlobal=function(a,b,d){this.bind(a,b,d);if(a instanceof Array)for(b=0;bRecord 7 | 8 | 16 | ``` 17 | -------------------------------------------------------------------------------- /app/static/asserts/mousetrap/plugins/record/mousetrap-record.min.js: -------------------------------------------------------------------------------- 1 | (function(d){function n(b,a,h){if(this.recording)if("keydown"==h.type){1===b.length&&g&&k();for(i=0;ib?1:-1}),b[a]= 2 | b[a].join("+")}function q(){f&&(r(e),f(e));e=[];f=null;c=[]}var e=[],f=null,c=[],g=!1,m=null,p=d.prototype.handleKey;d.prototype.record=function(b){var a=this;a.recording=!0;f=function(){a.recording=!1;b.apply(a,arguments)}};d.prototype.handleKey=function(){n.apply(this,arguments)};d.init()})(Mousetrap); 3 | -------------------------------------------------------------------------------- /app/static/asserts/mousetrap/plugins/record/tests/jelly.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: helvetica, arial, sans-serif; 3 | line-height: 20px; 4 | } 5 | 6 | kbd { 7 | background-color: #ccc; 8 | display: inline-block; 9 | padding: 0.5ex 1em; 10 | } 11 | 12 | .test-record-result { 13 | margin-top: 20px; 14 | } 15 | 16 | .test-record-result span:nth-child(n+2) { 17 | margin-left: 10px; 18 | } 19 | -------------------------------------------------------------------------------- /app/static/dist/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/dist/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /app/static/dist/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/dist/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /app/static/dist/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/dist/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /app/static/dist/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/dist/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /app/static/dist/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/dist/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /app/static/dist/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/dist/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /app/static/dist/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/dist/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /app/static/dist/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/dist/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /app/static/dist/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/dist/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /app/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/favicon.ico -------------------------------------------------------------------------------- /app/static/img/avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/img/avatar.jpg -------------------------------------------------------------------------------- /app/static/img/cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/img/cover.jpg -------------------------------------------------------------------------------- /app/static/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/app/static/img/logo.png -------------------------------------------------------------------------------- /app/static/src/js/extend/string-extend.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | String.prototype.trim = function() { 3 | return this.replace(/^\s\s*/, '').replace(/\s\s*$/, ''); 4 | }; 5 | })(); 6 | -------------------------------------------------------------------------------- /app/static/src/scss/admin/site.scss: -------------------------------------------------------------------------------- 1 | @import '../base.scss'; 2 | 3 | @import '_common.scss'; 4 | 5 | .welcome-content{ 6 | h4{ 7 | margin-bottom: 10px; 8 | } 9 | ul, li{ 10 | list-style-type: disc; 11 | } 12 | ul{ 13 | padding-left: 20px; 14 | line-height: 28px; 15 | font-size: 15px; 16 | } 17 | .btn-book{ 18 | padding: 3px 10px; 19 | margin-bottom: 10px; 20 | } 21 | } 22 | 23 | .site-form{ 24 | width: 550px; 25 | margin: 0 auto; 26 | } 27 | .panel{ 28 | .title{ 29 | margin: 0 0 20px; 30 | font-size: 16px; 31 | } 32 | } 33 | 34 | 35 | -------------------------------------------------------------------------------- /app/static/src/scss/base.scss: -------------------------------------------------------------------------------- 1 | @import 'base/variables.scss'; 2 | @import 'base/global.scss'; 3 | @import 'base/form.scss'; 4 | @import 'base/layout.scss'; 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/static/src/scss/base/form.scss: -------------------------------------------------------------------------------- 1 | 2 | .sign-remember{ 3 | font-size: 15px; 4 | font-weight: normal; 5 | >input[type="checkbox"]{ 6 | width: 15px; 7 | height: 16px; 8 | margin: 0; 9 | } 10 | } 11 | 12 | .input-error{ 13 | border: 1px solid $errorcolor; 14 | } 15 | 16 | .input-error-info{ 17 | color: $errorcolor; 18 | margin-top: 5px; 19 | display: block; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /app/static/src/scss/base/layout.scss: -------------------------------------------------------------------------------- 1 | // 2 | // 网页布局 3 | 4 | .b-main{ 5 | width: 650px; 6 | float: left; 7 | } 8 | 9 | .main-content{ 10 | padding-bottom: 175px; 11 | } 12 | 13 | .b-side{ 14 | width: 350px; 15 | float: left; 16 | &.r-side{ 17 | padding-left: 40px; 18 | } 19 | } 20 | 21 | .footer{ 22 | position: absolute; 23 | bottom: 0; 24 | left: 0; 25 | right: 0; 26 | padding: 50px 0; 27 | text-align: center; 28 | font-size:13px; 29 | } 30 | 31 | .footer-items{ 32 | margin: 0 auto; 33 | width: auto; 34 | } 35 | 36 | .footer-link{ 37 | color: darken($themecolor, 10%); 38 | } 39 | 40 | .footer-item{ 41 | display: inline-block; 42 | margin-right:10px; 43 | color: #333; 44 | &.bold-item{ 45 | font-weight: bold; 46 | color: #555; 47 | } 48 | 49 | } 50 | 51 | 52 | -------------------------------------------------------------------------------- /app/static/src/scss/base/uploadfile.scss: -------------------------------------------------------------------------------- 1 | .fileinput-button { 2 | position: relative; 3 | overflow: hidden; 4 | display: inline-block; 5 | } 6 | .fileinput-button input { 7 | position: absolute; 8 | top: 0; 9 | right: 0; 10 | margin: 0; 11 | opacity: 0; 12 | -ms-filter: 'alpha(opacity=0)'; 13 | font-size: 200px !important; 14 | direction: ltr; 15 | cursor: pointer; 16 | } 17 | 18 | /* Fixes for IE < 8 */ 19 | @media screen\9 { 20 | .fileinput-button input { 21 | filter: alpha(opacity=0); 22 | font-size: 100%; 23 | height: 100%; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /app/static/src/scss/web/_header.scss: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/templates/_common-css.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/templates/_common-js.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/templates/_footer.html: -------------------------------------------------------------------------------- 1 |
    2 | 3 | 8 |
    9 | 10 | 11 | -------------------------------------------------------------------------------- /app/templates/admin/_head.html: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | 15 | 18 |
    19 |
    20 | 21 | -------------------------------------------------------------------------------- /app/templates/admin/start/_head.html: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | -------------------------------------------------------------------------------- /app/templates/admin/start/config.html: -------------------------------------------------------------------------------- 1 | #coding: utf-8 2 | from app.config_default import Config as DefaultConfig 3 | 4 | class Config(DefaultConfig): 5 | SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://{{username}}:{{password}}@{{host}}/{{db}}?charset=utf8' 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/templates/web/_info.html: -------------------------------------------------------------------------------- 1 |
    2 |
    3 |
    更新:{{book.publish_timestamp|friendly_time}}
    4 |
    5 |
    6 | 7 |
    8 |
    简介
    9 |
    10 | {%if book.brief%} 11 | {{book.brief}} 12 | {%else%} 13 | (无) 14 | {%endif%} 15 |
    16 |
    17 | 18 | 19 | -------------------------------------------------------------------------------- /app/templates/web/_reader.html: -------------------------------------------------------------------------------- 1 | {%if catalog%} 2 | 3 |
    4 |

    {{catalog.title}}

    5 |
    6 |
    7 | {{catalog.publish_html|safe}} 8 |
    9 |
    10 | {%if prev%} 11 | 上一页 12 | {%endif%} 13 | {%if next%} 14 | 下一页 15 | {%endif%} 16 |
    17 | 18 | {%endif%} 19 | 20 | 21 | -------------------------------------------------------------------------------- /app/web/__init__.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | from flask import Blueprint 3 | web = Blueprint("web", __name__) 4 | 5 | import app.web.views 6 | 7 | from app.models import user, book 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/web/views/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #coding:utf-8 3 | 4 | import app.web.views.home 5 | 6 | 7 | -------------------------------------------------------------------------------- /doc/image/book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/doc/image/book.png -------------------------------------------------------------------------------- /doc/image/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/doc/image/home.png -------------------------------------------------------------------------------- /doc/image/reader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/doc/image/reader.png -------------------------------------------------------------------------------- /doc/image/start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chaijunit/beibq/cccfe805a7f9c6ea0e63d6bfad9847c8546e06d3/doc/image/start.png -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | from app import create_app 3 | from flask_script import Manager 4 | 5 | app = create_app() 6 | 7 | manager = Manager(app) 8 | 9 | if __name__ == "__main__": 10 | manager.run() 11 | 12 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | beautifulsoup4==4.6.0 2 | bs4==0.0.1 3 | certifi==2018.1.18 4 | chardet==3.0.4 5 | click==6.7 6 | cssselect==1.0.3 7 | dominate==2.3.1 8 | Flask==0.12.2 9 | Flask-Bootstrap==3.3.7.1 10 | Flask-Login==0.4.1 11 | Flask-Script==2.0.6 12 | Flask-SQLAlchemy==2.3.2 13 | Flask-WTF==0.14.2 14 | html2text==2018.1.9 15 | idna==2.6 16 | itsdangerous==0.24 17 | Jinja2==2.10 18 | lxml==4.1.1 19 | MarkupSafe==1.0 20 | PyMySQL==0.8.1 21 | Pillow==5.0.0 22 | readability-lxml==0.6.2 23 | requests==2.18.4 24 | simplejson==3.13.2 25 | SQLAlchemy==1.2.2 26 | urllib3==1.22 27 | visitor==0.1.3 28 | Werkzeug==0.14.1 29 | WTForms==2.1 30 | --------------------------------------------------------------------------------