administrate-field-simple_mde_markdown 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +72 -0
- data/.circleci/setup-rubygems.sh +3 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +196 -0
- data/LICENSE.txt +21 -0
- data/README.md +44 -0
- data/Rakefile +8 -0
- data/administrate-field-simple_mde_markdown.gemspec +31 -0
- data/app/assets/javascripts/administrate-field-simple_mde_markdown/application.js +6 -0
- data/app/assets/stylesheets/administrate-field-simple_mde_markdown/application.css +3 -0
- data/app/views/fields/simple_mde_markdown/_form.html.erb +6 -0
- data/app/views/fields/simple_mde_markdown/_index.html.erb +1 -0
- data/app/views/fields/simple_mde_markdown/_show.html.erb +1 -0
- data/lib/administrate/field/simple_mde_markdown.rb +31 -0
- data/node_modules/.bin/marked +1 -0
- data/node_modules/codemirror-spell-checker/.eslintrc +23 -0
- data/node_modules/codemirror-spell-checker/.npmignore +2 -0
- data/node_modules/codemirror-spell-checker/.travis.yml +18 -0
- data/node_modules/codemirror-spell-checker/CONTRIBUTING 2.md +10 -0
- data/node_modules/codemirror-spell-checker/CONTRIBUTING.md +10 -0
- data/node_modules/codemirror-spell-checker/LICENSE +22 -0
- data/node_modules/codemirror-spell-checker/README.md +50 -0
- data/node_modules/codemirror-spell-checker/bower.json +27 -0
- data/node_modules/codemirror-spell-checker/debug/.spell-checker 2.css.icloud +0 -0
- data/node_modules/codemirror-spell-checker/debug/spell-checker.css +9 -0
- data/node_modules/codemirror-spell-checker/debug/spell-checker.debug.js +2844 -0
- data/node_modules/codemirror-spell-checker/debug/spell-checker.js +2841 -0
- data/node_modules/codemirror-spell-checker/dist/.spell-checker.min 2.css.icloud +0 -0
- data/node_modules/codemirror-spell-checker/dist/en_US.aff +201 -0
- data/node_modules/codemirror-spell-checker/dist/en_US.dic +62120 -0
- data/node_modules/codemirror-spell-checker/dist/spell-checker.min 2.js +7 -0
- data/node_modules/codemirror-spell-checker/dist/spell-checker.min.css +7 -0
- data/node_modules/codemirror-spell-checker/dist/spell-checker.min.js +7 -0
- data/node_modules/codemirror-spell-checker/gulpfile.js +94 -0
- data/node_modules/codemirror-spell-checker/package.json +75 -0
- data/node_modules/codemirror-spell-checker/src/css/spell-checker.css +3 -0
- data/node_modules/codemirror-spell-checker/src/data/en_US.aff +201 -0
- data/node_modules/codemirror-spell-checker/src/data/en_US.dic +62120 -0
- data/node_modules/codemirror-spell-checker/src/js/spell-checker.js +119 -0
- data/node_modules/codemirror/.package 2.json.icloud +0 -0
- data/node_modules/codemirror/AUTHORS +773 -0
- data/node_modules/codemirror/CHANGELOG.md +1486 -0
- data/node_modules/codemirror/CONTRIBUTING.md +92 -0
- data/node_modules/codemirror/LICENSE +21 -0
- data/node_modules/codemirror/README.md +49 -0
- data/node_modules/codemirror/addon/comment/comment.js +209 -0
- data/node_modules/codemirror/addon/comment/continuecomment.js +78 -0
- data/node_modules/codemirror/addon/dialog/dialog.css +32 -0
- data/node_modules/codemirror/addon/dialog/dialog.js +161 -0
- data/node_modules/codemirror/addon/display/autorefresh.js +47 -0
- data/node_modules/codemirror/addon/display/fullscreen.css +6 -0
- data/node_modules/codemirror/addon/display/fullscreen.js +41 -0
- data/node_modules/codemirror/addon/display/panel.js +127 -0
- data/node_modules/codemirror/addon/display/placeholder.js +63 -0
- data/node_modules/codemirror/addon/display/rulers.js +51 -0
- data/node_modules/codemirror/addon/edit/closebrackets.js +187 -0
- data/node_modules/codemirror/addon/edit/closetag.js +175 -0
- data/node_modules/codemirror/addon/edit/continuelist.js +89 -0
- data/node_modules/codemirror/addon/edit/matchbrackets.js +145 -0
- data/node_modules/codemirror/addon/edit/matchtags.js +66 -0
- data/node_modules/codemirror/addon/edit/trailingspace.js +27 -0
- data/node_modules/codemirror/addon/fold/brace-fold.js +105 -0
- data/node_modules/codemirror/addon/fold/comment-fold.js +59 -0
- data/node_modules/codemirror/addon/fold/foldcode.js +152 -0
- data/node_modules/codemirror/addon/fold/foldgutter.css +20 -0
- data/node_modules/codemirror/addon/fold/foldgutter.js +146 -0
- data/node_modules/codemirror/addon/fold/indent-fold.js +48 -0
- data/node_modules/codemirror/addon/fold/markdown-fold.js +49 -0
- data/node_modules/codemirror/addon/fold/xml-fold.js +184 -0
- data/node_modules/codemirror/addon/hint/anyword-hint.js +41 -0
- data/node_modules/codemirror/addon/hint/css-hint.js +60 -0
- data/node_modules/codemirror/addon/hint/html-hint.js +348 -0
- data/node_modules/codemirror/addon/hint/javascript-hint.js +157 -0
- data/node_modules/codemirror/addon/hint/show-hint.css +36 -0
- data/node_modules/codemirror/addon/hint/show-hint.js +434 -0
- data/node_modules/codemirror/addon/hint/sql-hint.js +299 -0
- data/node_modules/codemirror/addon/hint/xml-hint.js +110 -0
- data/node_modules/codemirror/addon/lint/coffeescript-lint.js +47 -0
- data/node_modules/codemirror/addon/lint/css-lint.js +40 -0
- data/node_modules/codemirror/addon/lint/html-lint.js +53 -0
- data/node_modules/codemirror/addon/lint/javascript-lint.js +63 -0
- data/node_modules/codemirror/addon/lint/json-lint.js +40 -0
- data/node_modules/codemirror/addon/lint/lint.css +73 -0
- data/node_modules/codemirror/addon/lint/lint.js +252 -0
- data/node_modules/codemirror/addon/lint/yaml-lint.js +41 -0
- data/node_modules/codemirror/addon/merge/merge.css +119 -0
- data/node_modules/codemirror/addon/merge/merge.js +1002 -0
- data/node_modules/codemirror/addon/mode/loadmode.js +64 -0
- data/node_modules/codemirror/addon/mode/multiplex.js +131 -0
- data/node_modules/codemirror/addon/mode/multiplex_test.js +33 -0
- data/node_modules/codemirror/addon/mode/overlay.js +90 -0
- data/node_modules/codemirror/addon/mode/simple.js +216 -0
- data/node_modules/codemirror/addon/runmode/colorize.js +40 -0
- data/node_modules/codemirror/addon/runmode/runmode-standalone.js +158 -0
- data/node_modules/codemirror/addon/runmode/runmode.js +72 -0
- data/node_modules/codemirror/addon/runmode/runmode.node.js +197 -0
- data/node_modules/codemirror/addon/scroll/annotatescrollbar.js +122 -0
- data/node_modules/codemirror/addon/scroll/scrollpastend.js +48 -0
- data/node_modules/codemirror/addon/scroll/simplescrollbars.css +66 -0
- data/node_modules/codemirror/addon/scroll/simplescrollbars.js +152 -0
- data/node_modules/codemirror/addon/search/jump-to-line.js +50 -0
- data/node_modules/codemirror/addon/search/match-highlighter.js +165 -0
- data/node_modules/codemirror/addon/search/matchesonscrollbar.css +8 -0
- data/node_modules/codemirror/addon/search/matchesonscrollbar.js +97 -0
- data/node_modules/codemirror/addon/search/search.js +258 -0
- data/node_modules/codemirror/addon/search/searchcursor.js +293 -0
- data/node_modules/codemirror/addon/selection/active-line.js +72 -0
- data/node_modules/codemirror/addon/selection/mark-selection.js +119 -0
- data/node_modules/codemirror/addon/selection/selection-pointer.js +98 -0
- data/node_modules/codemirror/addon/tern/tern.css +87 -0
- data/node_modules/codemirror/addon/tern/tern.js +718 -0
- data/node_modules/codemirror/addon/tern/worker.js +44 -0
- data/node_modules/codemirror/addon/wrap/hardwrap.js +145 -0
- data/node_modules/codemirror/bin/source-highlight +48 -0
- data/node_modules/codemirror/keymap/emacs.js +417 -0
- data/node_modules/codemirror/keymap/sublime.js +691 -0
- data/node_modules/codemirror/keymap/vim.js +5467 -0
- data/node_modules/codemirror/lib/codemirror.css +346 -0
- data/node_modules/codemirror/lib/codemirror.js +9698 -0
- data/node_modules/codemirror/mode/apl/apl.js +174 -0
- data/node_modules/codemirror/mode/asciiarmor/asciiarmor.js +74 -0
- data/node_modules/codemirror/mode/asn.1/asn.1.js +204 -0
- data/node_modules/codemirror/mode/asterisk/asterisk.js +196 -0
- data/node_modules/codemirror/mode/brainfuck/brainfuck.js +85 -0
- data/node_modules/codemirror/mode/clike/clike.js +879 -0
- data/node_modules/codemirror/mode/clojure/clojure.js +292 -0
- data/node_modules/codemirror/mode/cmake/cmake.js +97 -0
- data/node_modules/codemirror/mode/cobol/cobol.js +255 -0
- data/node_modules/codemirror/mode/coffeescript/coffeescript.js +359 -0
- data/node_modules/codemirror/mode/commonlisp/commonlisp.js +124 -0
- data/node_modules/codemirror/mode/crystal/crystal.js +433 -0
- data/node_modules/codemirror/mode/css/css.js +832 -0
- data/node_modules/codemirror/mode/cypher/cypher.js +150 -0
- data/node_modules/codemirror/mode/d/d.js +223 -0
- data/node_modules/codemirror/mode/dart/dart.js +157 -0
- data/node_modules/codemirror/mode/diff/diff.js +47 -0
- data/node_modules/codemirror/mode/django/django.js +356 -0
- data/node_modules/codemirror/mode/dockerfile/dockerfile.js +211 -0
- data/node_modules/codemirror/mode/dtd/dtd.js +142 -0
- data/node_modules/codemirror/mode/dylan/dylan.js +352 -0
- data/node_modules/codemirror/mode/ebnf/ebnf.js +195 -0
- data/node_modules/codemirror/mode/ecl/ecl.js +206 -0
- data/node_modules/codemirror/mode/eiffel/eiffel.js +160 -0
- data/node_modules/codemirror/mode/elm/elm.js +205 -0
- data/node_modules/codemirror/mode/erlang/erlang.js +619 -0
- data/node_modules/codemirror/mode/factor/factor.js +85 -0
- data/node_modules/codemirror/mode/fcl/fcl.js +173 -0
- data/node_modules/codemirror/mode/forth/forth.js +180 -0
- data/node_modules/codemirror/mode/fortran/fortran.js +188 -0
- data/node_modules/codemirror/mode/gas/gas.js +345 -0
- data/node_modules/codemirror/mode/gfm/gfm.js +129 -0
- data/node_modules/codemirror/mode/gherkin/gherkin.js +178 -0
- data/node_modules/codemirror/mode/go/go.js +187 -0
- data/node_modules/codemirror/mode/groovy/groovy.js +230 -0
- data/node_modules/codemirror/mode/haml/haml.js +161 -0
- data/node_modules/codemirror/mode/handlebars/handlebars.js +66 -0
- data/node_modules/codemirror/mode/haskell-literate/haskell-literate.js +43 -0
- data/node_modules/codemirror/mode/haskell/haskell.js +268 -0
- data/node_modules/codemirror/mode/haxe/haxe.js +515 -0
- data/node_modules/codemirror/mode/htmlembedded/htmlembedded.js +37 -0
- data/node_modules/codemirror/mode/htmlmixed/htmlmixed.js +152 -0
- data/node_modules/codemirror/mode/http/http.js +113 -0
- data/node_modules/codemirror/mode/idl/idl.js +290 -0
- data/node_modules/codemirror/mode/javascript/javascript.js +899 -0
- data/node_modules/codemirror/mode/jinja2/jinja2.js +144 -0
- data/node_modules/codemirror/mode/jsx/jsx.js +148 -0
- data/node_modules/codemirror/mode/julia/julia.js +433 -0
- data/node_modules/codemirror/mode/livescript/livescript.js +280 -0
- data/node_modules/codemirror/mode/lua/lua.js +159 -0
- data/node_modules/codemirror/mode/markdown/markdown.js +884 -0
- data/node_modules/codemirror/mode/mathematica/mathematica.js +176 -0
- data/node_modules/codemirror/mode/mbox/mbox.js +129 -0
- data/node_modules/codemirror/mode/meta.js +217 -0
- data/node_modules/codemirror/mode/mirc/mirc.js +193 -0
- data/node_modules/codemirror/mode/mllike/mllike.js +359 -0
- data/node_modules/codemirror/mode/modelica/modelica.js +245 -0
- data/node_modules/codemirror/mode/mscgen/mscgen.js +175 -0
- data/node_modules/codemirror/mode/mumps/mumps.js +148 -0
- data/node_modules/codemirror/mode/nginx/nginx.js +178 -0
- data/node_modules/codemirror/mode/nsis/nsis.js +95 -0
- data/node_modules/codemirror/mode/ntriples/ntriples.js +195 -0
- data/node_modules/codemirror/mode/octave/octave.js +139 -0
- data/node_modules/codemirror/mode/oz/oz.js +252 -0
- data/node_modules/codemirror/mode/pascal/pascal.js +121 -0
- data/node_modules/codemirror/mode/pegjs/pegjs.js +114 -0
- data/node_modules/codemirror/mode/perl/perl.js +837 -0
- data/node_modules/codemirror/mode/php/php.js +234 -0
- data/node_modules/codemirror/mode/pig/pig.js +178 -0
- data/node_modules/codemirror/mode/powershell/powershell.js +398 -0
- data/node_modules/codemirror/mode/properties/properties 2.js +78 -0
- data/node_modules/codemirror/mode/properties/properties.js +78 -0
- data/node_modules/codemirror/mode/protobuf/protobuf.js +69 -0
- data/node_modules/codemirror/mode/pug/pug.js +591 -0
- data/node_modules/codemirror/mode/puppet/puppet.js +220 -0
- data/node_modules/codemirror/mode/python/python.js +409 -0
- data/node_modules/codemirror/mode/q/q.js +139 -0
- data/node_modules/codemirror/mode/r/r.js +190 -0
- data/node_modules/codemirror/mode/rpm/changes/index.html +66 -0
- data/node_modules/codemirror/mode/rpm/rpm.js +109 -0
- data/node_modules/codemirror/mode/rst/rst.js +557 -0
- data/node_modules/codemirror/mode/ruby/ruby.js +296 -0
- data/node_modules/codemirror/mode/rust/rust.js +72 -0
- data/node_modules/codemirror/mode/sas/sas.js +303 -0
- data/node_modules/codemirror/mode/sass/sass.js +454 -0
- data/node_modules/codemirror/mode/scheme/scheme.js +265 -0
- data/node_modules/codemirror/mode/shell/shell.js +152 -0
- data/node_modules/codemirror/mode/sieve/sieve.js +193 -0
- data/node_modules/codemirror/mode/slim/slim.js +575 -0
- data/node_modules/codemirror/mode/smalltalk/smalltalk.js +168 -0
- data/node_modules/codemirror/mode/smarty/smarty.js +225 -0
- data/node_modules/codemirror/mode/solr/solr.js +104 -0
- data/node_modules/codemirror/mode/soy/soy 2.js +359 -0
- data/node_modules/codemirror/mode/soy/soy.js +235 -0
- data/node_modules/codemirror/mode/sparql/sparql.js +180 -0
- data/node_modules/codemirror/mode/spreadsheet/spreadsheet.js +112 -0
- data/node_modules/codemirror/mode/sql/sql.js +499 -0
- data/node_modules/codemirror/mode/stex/stex.js +264 -0
- data/node_modules/codemirror/mode/stylus/stylus.js +771 -0
- data/node_modules/codemirror/mode/swift/swift.js +219 -0
- data/node_modules/codemirror/mode/tcl/tcl.js +139 -0
- data/node_modules/codemirror/mode/textile/textile.js +469 -0
- data/node_modules/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
- data/node_modules/codemirror/mode/tiddlywiki/tiddlywiki.js +308 -0
- data/node_modules/codemirror/mode/tiki/tiki.css +26 -0
- data/node_modules/codemirror/mode/tiki/tiki.js +312 -0
- data/node_modules/codemirror/mode/toml/toml.js +88 -0
- data/node_modules/codemirror/mode/tornado/tornado.js +68 -0
- data/node_modules/codemirror/mode/troff/troff.js +84 -0
- data/node_modules/codemirror/mode/ttcn-cfg/ttcn-cfg.js +214 -0
- data/node_modules/codemirror/mode/ttcn/ttcn.js +283 -0
- data/node_modules/codemirror/mode/turtle/turtle.js +162 -0
- data/node_modules/codemirror/mode/twig/twig.js +141 -0
- data/node_modules/codemirror/mode/vb/vb.js +275 -0
- data/node_modules/codemirror/mode/vbscript/vbscript.js +350 -0
- data/node_modules/codemirror/mode/velocity/velocity.js +201 -0
- data/node_modules/codemirror/mode/verilog/verilog.js +675 -0
- data/node_modules/codemirror/mode/vhdl/vhdl.js +189 -0
- data/node_modules/codemirror/mode/vue/vue.js +77 -0
- data/node_modules/codemirror/mode/webidl/webidl.js +195 -0
- data/node_modules/codemirror/mode/xml/xml.js +402 -0
- data/node_modules/codemirror/mode/xquery/xquery.js +448 -0
- data/node_modules/codemirror/mode/yacas/yacas.js +204 -0
- data/node_modules/codemirror/mode/yaml-frontmatter/yaml-frontmatter.js +68 -0
- data/node_modules/codemirror/mode/yaml/yaml.js +120 -0
- data/node_modules/codemirror/mode/z80/z80.js +116 -0
- data/node_modules/codemirror/package.json +2395 -0
- data/node_modules/codemirror/rollup.config.js +20 -0
- data/node_modules/codemirror/src/codemirror.js +3 -0
- data/node_modules/codemirror/src/display/Display.js +106 -0
- data/node_modules/codemirror/src/display/focus.js +47 -0
- data/node_modules/codemirror/src/display/gutters.js +34 -0
- data/node_modules/codemirror/src/display/highlight_worker.js +55 -0
- data/node_modules/codemirror/src/display/line_numbers.js +48 -0
- data/node_modules/codemirror/src/display/mode_state.js +22 -0
- data/node_modules/codemirror/src/display/operations.js +205 -0
- data/node_modules/codemirror/src/display/scroll_events.js +115 -0
- data/node_modules/codemirror/src/display/scrollbars.js +193 -0
- data/node_modules/codemirror/src/display/scrolling.js +184 -0
- data/node_modules/codemirror/src/display/selection.js +158 -0
- data/node_modules/codemirror/src/display/update_display.js +260 -0
- data/node_modules/codemirror/src/display/update_line.js +188 -0
- data/node_modules/codemirror/src/display/update_lines.js +64 -0
- data/node_modules/codemirror/src/display/view_tracking.js +153 -0
- data/node_modules/codemirror/src/edit/CodeMirror.js +215 -0
- data/node_modules/codemirror/src/edit/commands.js +178 -0
- data/node_modules/codemirror/src/edit/deleteNearSelection.js +30 -0
- data/node_modules/codemirror/src/edit/drop_events.js +119 -0
- data/node_modules/codemirror/src/edit/fromTextArea.js +61 -0
- data/node_modules/codemirror/src/edit/global_events.js +42 -0
- data/node_modules/codemirror/src/edit/key_events.js +159 -0
- data/node_modules/codemirror/src/edit/legacy.js +62 -0
- data/node_modules/codemirror/src/edit/main.js +69 -0
- data/node_modules/codemirror/src/edit/methods.js +544 -0
- data/node_modules/codemirror/src/edit/mouse_events.js +407 -0
- data/node_modules/codemirror/src/edit/options.js +193 -0
- data/node_modules/codemirror/src/edit/utils.js +7 -0
- data/node_modules/codemirror/src/input/ContentEditableInput.js +527 -0
- data/node_modules/codemirror/src/input/TextareaInput.js +355 -0
- data/node_modules/codemirror/src/input/indent.js +71 -0
- data/node_modules/codemirror/src/input/input.js +135 -0
- data/node_modules/codemirror/src/input/keymap.js +148 -0
- data/node_modules/codemirror/src/input/keynames.js +17 -0
- data/node_modules/codemirror/src/input/movement.js +110 -0
- data/node_modules/codemirror/src/line/highlight.js +284 -0
- data/node_modules/codemirror/src/line/line_data.js +339 -0
- data/node_modules/codemirror/src/line/pos.js +40 -0
- data/node_modules/codemirror/src/line/saw_special_spans.js +10 -0
- data/node_modules/codemirror/src/line/spans.js +382 -0
- data/node_modules/codemirror/src/line/utils_line.js +85 -0
- data/node_modules/codemirror/src/measurement/position_measurement.js +699 -0
- data/node_modules/codemirror/src/measurement/widgets.js +26 -0
- data/node_modules/codemirror/src/model/Doc.js +432 -0
- data/node_modules/codemirror/src/model/change_measurement.js +61 -0
- data/node_modules/codemirror/src/model/changes.js +333 -0
- data/node_modules/codemirror/src/model/chunk.js +167 -0
- data/node_modules/codemirror/src/model/document_data.js +111 -0
- data/node_modules/codemirror/src/model/history.js +228 -0
- data/node_modules/codemirror/src/model/line_widget.js +78 -0
- data/node_modules/codemirror/src/model/mark_text.js +292 -0
- data/node_modules/codemirror/src/model/selection.js +84 -0
- data/node_modules/codemirror/src/model/selection_updates.js +208 -0
- data/node_modules/codemirror/src/modes.js +96 -0
- data/node_modules/codemirror/src/util/StringStream.js +90 -0
- data/node_modules/codemirror/src/util/bidi.js +214 -0
- data/node_modules/codemirror/src/util/browser.js +33 -0
- data/node_modules/codemirror/src/util/dom.js +97 -0
- data/node_modules/codemirror/src/util/event.js +103 -0
- data/node_modules/codemirror/src/util/feature_detection.js +84 -0
- data/node_modules/codemirror/src/util/misc.js +150 -0
- data/node_modules/codemirror/src/util/operation_group.js +72 -0
- data/node_modules/codemirror/theme/3024-day.css +41 -0
- data/node_modules/codemirror/theme/3024-night.css +39 -0
- data/node_modules/codemirror/theme/abcdef.css +32 -0
- data/node_modules/codemirror/theme/ambiance-mobile.css +5 -0
- data/node_modules/codemirror/theme/ambiance.css +74 -0
- data/node_modules/codemirror/theme/base16-dark.css +38 -0
- data/node_modules/codemirror/theme/base16-light.css +38 -0
- data/node_modules/codemirror/theme/bespin.css +34 -0
- data/node_modules/codemirror/theme/blackboard.css +32 -0
- data/node_modules/codemirror/theme/cobalt.css +25 -0
- data/node_modules/codemirror/theme/colorforth.css +33 -0
- data/node_modules/codemirror/theme/darcula.css +46 -0
- data/node_modules/codemirror/theme/dracula.css +40 -0
- data/node_modules/codemirror/theme/duotone-dark.css +35 -0
- data/node_modules/codemirror/theme/duotone-light.css +36 -0
- data/node_modules/codemirror/theme/eclipse.css +23 -0
- data/node_modules/codemirror/theme/elegant.css +13 -0
- data/node_modules/codemirror/theme/erlang-dark.css +34 -0
- data/node_modules/codemirror/theme/gruvbox-dark.css +37 -0
- data/node_modules/codemirror/theme/hopscotch.css +34 -0
- data/node_modules/codemirror/theme/icecoder.css +43 -0
- data/node_modules/codemirror/theme/idea.css +42 -0
- data/node_modules/codemirror/theme/isotope.css +34 -0
- data/node_modules/codemirror/theme/lesser-dark.css +47 -0
- data/node_modules/codemirror/theme/liquibyte.css +95 -0
- data/node_modules/codemirror/theme/lucario.css +37 -0
- data/node_modules/codemirror/theme/material.css +53 -0
- data/node_modules/codemirror/theme/mbo.css +37 -0
- data/node_modules/codemirror/theme/mdn-like.css +46 -0
- data/node_modules/codemirror/theme/midnight.css +43 -0
- data/node_modules/codemirror/theme/monokai.css +41 -0
- data/node_modules/codemirror/theme/neat.css +12 -0
- data/node_modules/codemirror/theme/neo.css +43 -0
- data/node_modules/codemirror/theme/night.css +27 -0
- data/node_modules/codemirror/theme/oceanic-next.css +44 -0
- data/node_modules/codemirror/theme/panda-syntax.css +85 -0
- data/node_modules/codemirror/theme/paraiso-dark.css +38 -0
- data/node_modules/codemirror/theme/paraiso-light.css +38 -0
- data/node_modules/codemirror/theme/pastel-on-dark.css +52 -0
- data/node_modules/codemirror/theme/railscasts.css +34 -0
- data/node_modules/codemirror/theme/rubyblue.css +25 -0
- data/node_modules/codemirror/theme/seti.css +44 -0
- data/node_modules/codemirror/theme/shadowfox.css +52 -0
- data/node_modules/codemirror/theme/solarized.css +168 -0
- data/node_modules/codemirror/theme/ssms.css +16 -0
- data/node_modules/codemirror/theme/the-matrix.css +30 -0
- data/node_modules/codemirror/theme/tomorrow-night-bright.css +35 -0
- data/node_modules/codemirror/theme/tomorrow-night-eighties.css +38 -0
- data/node_modules/codemirror/theme/ttcn.css +64 -0
- data/node_modules/codemirror/theme/twilight.css +32 -0
- data/node_modules/codemirror/theme/vibrant-ink.css +34 -0
- data/node_modules/codemirror/theme/xq-dark.css +53 -0
- data/node_modules/codemirror/theme/xq-light.css +43 -0
- data/node_modules/codemirror/theme/yeti.css +44 -0
- data/node_modules/codemirror/theme/zenburn.css +37 -0
- data/node_modules/marked/.editorconfig +16 -0
- data/node_modules/marked/.eslintignore +1 -0
- data/node_modules/marked/.eslintrc.json +28 -0
- data/node_modules/marked/.package 2.json.icloud +0 -0
- data/node_modules/marked/.travis.yml +47 -0
- data/node_modules/marked/Makefile +15 -0
- data/node_modules/marked/Makefile 2 +15 -0
- data/node_modules/marked/README 2.md +75 -0
- data/node_modules/marked/README.md +75 -0
- data/node_modules/marked/bin/marked +199 -0
- data/node_modules/marked/bower.json +23 -0
- data/node_modules/marked/component.json +10 -0
- data/node_modules/marked/index.js +1 -0
- data/node_modules/marked/jasmine.json +11 -0
- data/node_modules/marked/lib/marked 2.js +1604 -0
- data/node_modules/marked/lib/marked.js +1604 -0
- data/node_modules/marked/man/marked.1 +91 -0
- data/node_modules/marked/man/marked.1.txt +96 -0
- data/node_modules/marked/marked.min.js +6 -0
- data/node_modules/marked/package.json +95 -0
- data/node_modules/simplemde/.eslintrc +23 -0
- data/node_modules/simplemde/.npmignore +9 -0
- data/node_modules/simplemde/.travis.yml +18 -0
- data/node_modules/simplemde/CONTRIBUTING 2.md +10 -0
- data/node_modules/simplemde/CONTRIBUTING.md +10 -0
- data/node_modules/simplemde/LICENSE +22 -0
- data/node_modules/simplemde/README.md +331 -0
- data/node_modules/simplemde/bower.json +23 -0
- data/node_modules/simplemde/debug/.simplemde 2.css.icloud +0 -0
- data/node_modules/simplemde/debug/simplemde.css +676 -0
- data/node_modules/simplemde/debug/simplemde.debug.js +17023 -0
- data/node_modules/simplemde/debug/simplemde.js +17019 -0
- data/node_modules/simplemde/dist/simplemde.min.css +7 -0
- data/node_modules/simplemde/dist/simplemde.min.js +15 -0
- data/node_modules/simplemde/gulpfile.js +96 -0
- data/node_modules/simplemde/package.json +73 -0
- data/node_modules/simplemde/src/css/simplemde.css +328 -0
- data/node_modules/simplemde/src/js/codemirror/tablist 2.js +44 -0
- data/node_modules/simplemde/src/js/codemirror/tablist.js +44 -0
- data/node_modules/simplemde/src/js/simplemde.js +2028 -0
- data/node_modules/typo-js/README.md +45 -0
- data/node_modules/typo-js/dictionaries/en_US/.en_US 2.dic.icloud +0 -0
- data/node_modules/typo-js/dictionaries/en_US/README.md +7 -0
- data/node_modules/typo-js/dictionaries/en_US/en_US.aff +201 -0
- data/node_modules/typo-js/dictionaries/en_US/en_US.dic +62120 -0
- data/node_modules/typo-js/package.json +56 -0
- data/node_modules/typo-js/typo.js +931 -0
- data/package-lock.json +40 -0
- data/package.json +7 -0
- metadata +557 -0
@@ -0,0 +1,64 @@
|
|
1
|
+
.cm-s-ttcn .cm-quote { color: #090; }
|
2
|
+
.cm-s-ttcn .cm-negative { color: #d44; }
|
3
|
+
.cm-s-ttcn .cm-positive { color: #292; }
|
4
|
+
.cm-s-ttcn .cm-header, .cm-strong { font-weight: bold; }
|
5
|
+
.cm-s-ttcn .cm-em { font-style: italic; }
|
6
|
+
.cm-s-ttcn .cm-link { text-decoration: underline; }
|
7
|
+
.cm-s-ttcn .cm-strikethrough { text-decoration: line-through; }
|
8
|
+
.cm-s-ttcn .cm-header { color: #00f; font-weight: bold; }
|
9
|
+
|
10
|
+
.cm-s-ttcn .cm-atom { color: #219; }
|
11
|
+
.cm-s-ttcn .cm-attribute { color: #00c; }
|
12
|
+
.cm-s-ttcn .cm-bracket { color: #997; }
|
13
|
+
.cm-s-ttcn .cm-comment { color: #333333; }
|
14
|
+
.cm-s-ttcn .cm-def { color: #00f; }
|
15
|
+
.cm-s-ttcn .cm-em { font-style: italic; }
|
16
|
+
.cm-s-ttcn .cm-error { color: #f00; }
|
17
|
+
.cm-s-ttcn .cm-hr { color: #999; }
|
18
|
+
.cm-s-ttcn .cm-invalidchar { color: #f00; }
|
19
|
+
.cm-s-ttcn .cm-keyword { font-weight:bold; }
|
20
|
+
.cm-s-ttcn .cm-link { color: #00c; text-decoration: underline; }
|
21
|
+
.cm-s-ttcn .cm-meta { color: #555; }
|
22
|
+
.cm-s-ttcn .cm-negative { color: #d44; }
|
23
|
+
.cm-s-ttcn .cm-positive { color: #292; }
|
24
|
+
.cm-s-ttcn .cm-qualifier { color: #555; }
|
25
|
+
.cm-s-ttcn .cm-strikethrough { text-decoration: line-through; }
|
26
|
+
.cm-s-ttcn .cm-string { color: #006400; }
|
27
|
+
.cm-s-ttcn .cm-string-2 { color: #f50; }
|
28
|
+
.cm-s-ttcn .cm-strong { font-weight: bold; }
|
29
|
+
.cm-s-ttcn .cm-tag { color: #170; }
|
30
|
+
.cm-s-ttcn .cm-variable { color: #8B2252; }
|
31
|
+
.cm-s-ttcn .cm-variable-2 { color: #05a; }
|
32
|
+
.cm-s-ttcn .cm-variable-3, .cm-s-ttcn .cm-type { color: #085; }
|
33
|
+
|
34
|
+
.cm-s-ttcn .cm-invalidchar { color: #f00; }
|
35
|
+
|
36
|
+
/* ASN */
|
37
|
+
.cm-s-ttcn .cm-accessTypes,
|
38
|
+
.cm-s-ttcn .cm-compareTypes { color: #27408B; }
|
39
|
+
.cm-s-ttcn .cm-cmipVerbs { color: #8B2252; }
|
40
|
+
.cm-s-ttcn .cm-modifier { color:#D2691E; }
|
41
|
+
.cm-s-ttcn .cm-status { color:#8B4545; }
|
42
|
+
.cm-s-ttcn .cm-storage { color:#A020F0; }
|
43
|
+
.cm-s-ttcn .cm-tags { color:#006400; }
|
44
|
+
|
45
|
+
/* CFG */
|
46
|
+
.cm-s-ttcn .cm-externalCommands { color: #8B4545; font-weight:bold; }
|
47
|
+
.cm-s-ttcn .cm-fileNCtrlMaskOptions,
|
48
|
+
.cm-s-ttcn .cm-sectionTitle { color: #2E8B57; font-weight:bold; }
|
49
|
+
|
50
|
+
/* TTCN */
|
51
|
+
.cm-s-ttcn .cm-booleanConsts,
|
52
|
+
.cm-s-ttcn .cm-otherConsts,
|
53
|
+
.cm-s-ttcn .cm-verdictConsts { color: #006400; }
|
54
|
+
.cm-s-ttcn .cm-configOps,
|
55
|
+
.cm-s-ttcn .cm-functionOps,
|
56
|
+
.cm-s-ttcn .cm-portOps,
|
57
|
+
.cm-s-ttcn .cm-sutOps,
|
58
|
+
.cm-s-ttcn .cm-timerOps,
|
59
|
+
.cm-s-ttcn .cm-verdictOps { color: #0000FF; }
|
60
|
+
.cm-s-ttcn .cm-preprocessor,
|
61
|
+
.cm-s-ttcn .cm-templateMatch,
|
62
|
+
.cm-s-ttcn .cm-ttcn3Macros { color: #27408B; }
|
63
|
+
.cm-s-ttcn .cm-types { color: #A52A2A; font-weight:bold; }
|
64
|
+
.cm-s-ttcn .cm-visibilityModifiers { font-weight:bold; }
|
@@ -0,0 +1,32 @@
|
|
1
|
+
.cm-s-twilight.CodeMirror { background: #141414; color: #f7f7f7; } /**/
|
2
|
+
.cm-s-twilight div.CodeMirror-selected { background: #323232; } /**/
|
3
|
+
.cm-s-twilight .CodeMirror-line::selection, .cm-s-twilight .CodeMirror-line > span::selection, .cm-s-twilight .CodeMirror-line > span > span::selection { background: rgba(50, 50, 50, 0.99); }
|
4
|
+
.cm-s-twilight .CodeMirror-line::-moz-selection, .cm-s-twilight .CodeMirror-line > span::-moz-selection, .cm-s-twilight .CodeMirror-line > span > span::-moz-selection { background: rgba(50, 50, 50, 0.99); }
|
5
|
+
|
6
|
+
.cm-s-twilight .CodeMirror-gutters { background: #222; border-right: 1px solid #aaa; }
|
7
|
+
.cm-s-twilight .CodeMirror-guttermarker { color: white; }
|
8
|
+
.cm-s-twilight .CodeMirror-guttermarker-subtle { color: #aaa; }
|
9
|
+
.cm-s-twilight .CodeMirror-linenumber { color: #aaa; }
|
10
|
+
.cm-s-twilight .CodeMirror-cursor { border-left: 1px solid white; }
|
11
|
+
|
12
|
+
.cm-s-twilight .cm-keyword { color: #f9ee98; } /**/
|
13
|
+
.cm-s-twilight .cm-atom { color: #FC0; }
|
14
|
+
.cm-s-twilight .cm-number { color: #ca7841; } /**/
|
15
|
+
.cm-s-twilight .cm-def { color: #8DA6CE; }
|
16
|
+
.cm-s-twilight span.cm-variable-2, .cm-s-twilight span.cm-tag { color: #607392; } /**/
|
17
|
+
.cm-s-twilight span.cm-variable-3, .cm-s-twilight span.cm-def, .cm-s-twilight span.cm-type { color: #607392; } /**/
|
18
|
+
.cm-s-twilight .cm-operator { color: #cda869; } /**/
|
19
|
+
.cm-s-twilight .cm-comment { color:#777; font-style:italic; font-weight:normal; } /**/
|
20
|
+
.cm-s-twilight .cm-string { color:#8f9d6a; font-style:italic; } /**/
|
21
|
+
.cm-s-twilight .cm-string-2 { color:#bd6b18; } /*?*/
|
22
|
+
.cm-s-twilight .cm-meta { background-color:#141414; color:#f7f7f7; } /*?*/
|
23
|
+
.cm-s-twilight .cm-builtin { color: #cda869; } /*?*/
|
24
|
+
.cm-s-twilight .cm-tag { color: #997643; } /**/
|
25
|
+
.cm-s-twilight .cm-attribute { color: #d6bb6d; } /*?*/
|
26
|
+
.cm-s-twilight .cm-header { color: #FF6400; }
|
27
|
+
.cm-s-twilight .cm-hr { color: #AEAEAE; }
|
28
|
+
.cm-s-twilight .cm-link { color:#ad9361; font-style:italic; text-decoration:none; } /**/
|
29
|
+
.cm-s-twilight .cm-error { border-bottom: 1px solid red; }
|
30
|
+
|
31
|
+
.cm-s-twilight .CodeMirror-activeline-background { background: #27282E; }
|
32
|
+
.cm-s-twilight .CodeMirror-matchingbracket { outline:1px solid grey; color:white !important; }
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/* Taken from the popular Visual Studio Vibrant Ink Schema */
|
2
|
+
|
3
|
+
.cm-s-vibrant-ink.CodeMirror { background: black; color: white; }
|
4
|
+
.cm-s-vibrant-ink div.CodeMirror-selected { background: #35493c; }
|
5
|
+
.cm-s-vibrant-ink .CodeMirror-line::selection, .cm-s-vibrant-ink .CodeMirror-line > span::selection, .cm-s-vibrant-ink .CodeMirror-line > span > span::selection { background: rgba(53, 73, 60, 0.99); }
|
6
|
+
.cm-s-vibrant-ink .CodeMirror-line::-moz-selection, .cm-s-vibrant-ink .CodeMirror-line > span::-moz-selection, .cm-s-vibrant-ink .CodeMirror-line > span > span::-moz-selection { background: rgba(53, 73, 60, 0.99); }
|
7
|
+
|
8
|
+
.cm-s-vibrant-ink .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }
|
9
|
+
.cm-s-vibrant-ink .CodeMirror-guttermarker { color: white; }
|
10
|
+
.cm-s-vibrant-ink .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
|
11
|
+
.cm-s-vibrant-ink .CodeMirror-linenumber { color: #d0d0d0; }
|
12
|
+
.cm-s-vibrant-ink .CodeMirror-cursor { border-left: 1px solid white; }
|
13
|
+
|
14
|
+
.cm-s-vibrant-ink .cm-keyword { color: #CC7832; }
|
15
|
+
.cm-s-vibrant-ink .cm-atom { color: #FC0; }
|
16
|
+
.cm-s-vibrant-ink .cm-number { color: #FFEE98; }
|
17
|
+
.cm-s-vibrant-ink .cm-def { color: #8DA6CE; }
|
18
|
+
.cm-s-vibrant-ink span.cm-variable-2, .cm-s-vibrant span.cm-tag { color: #FFC66D; }
|
19
|
+
.cm-s-vibrant-ink span.cm-variable-3, .cm-s-vibrant span.cm-def, .cm-s-vibrant span.cm-type { color: #FFC66D; }
|
20
|
+
.cm-s-vibrant-ink .cm-operator { color: #888; }
|
21
|
+
.cm-s-vibrant-ink .cm-comment { color: gray; font-weight: bold; }
|
22
|
+
.cm-s-vibrant-ink .cm-string { color: #A5C25C; }
|
23
|
+
.cm-s-vibrant-ink .cm-string-2 { color: red; }
|
24
|
+
.cm-s-vibrant-ink .cm-meta { color: #D8FA3C; }
|
25
|
+
.cm-s-vibrant-ink .cm-builtin { color: #8DA6CE; }
|
26
|
+
.cm-s-vibrant-ink .cm-tag { color: #8DA6CE; }
|
27
|
+
.cm-s-vibrant-ink .cm-attribute { color: #8DA6CE; }
|
28
|
+
.cm-s-vibrant-ink .cm-header { color: #FF6400; }
|
29
|
+
.cm-s-vibrant-ink .cm-hr { color: #AEAEAE; }
|
30
|
+
.cm-s-vibrant-ink .cm-link { color: blue; }
|
31
|
+
.cm-s-vibrant-ink .cm-error { border-bottom: 1px solid red; }
|
32
|
+
|
33
|
+
.cm-s-vibrant-ink .CodeMirror-activeline-background { background: #27282E; }
|
34
|
+
.cm-s-vibrant-ink .CodeMirror-matchingbracket { outline:1px solid grey; color:white !important; }
|
@@ -0,0 +1,53 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (C) 2011 by MarkLogic Corporation
|
3
|
+
Author: Mike Brevoort <mike@brevoort.com>
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
22
|
+
*/
|
23
|
+
.cm-s-xq-dark.CodeMirror { background: #0a001f; color: #f8f8f8; }
|
24
|
+
.cm-s-xq-dark div.CodeMirror-selected { background: #27007A; }
|
25
|
+
.cm-s-xq-dark .CodeMirror-line::selection, .cm-s-xq-dark .CodeMirror-line > span::selection, .cm-s-xq-dark .CodeMirror-line > span > span::selection { background: rgba(39, 0, 122, 0.99); }
|
26
|
+
.cm-s-xq-dark .CodeMirror-line::-moz-selection, .cm-s-xq-dark .CodeMirror-line > span::-moz-selection, .cm-s-xq-dark .CodeMirror-line > span > span::-moz-selection { background: rgba(39, 0, 122, 0.99); }
|
27
|
+
.cm-s-xq-dark .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; }
|
28
|
+
.cm-s-xq-dark .CodeMirror-guttermarker { color: #FFBD40; }
|
29
|
+
.cm-s-xq-dark .CodeMirror-guttermarker-subtle { color: #f8f8f8; }
|
30
|
+
.cm-s-xq-dark .CodeMirror-linenumber { color: #f8f8f8; }
|
31
|
+
.cm-s-xq-dark .CodeMirror-cursor { border-left: 1px solid white; }
|
32
|
+
|
33
|
+
.cm-s-xq-dark span.cm-keyword { color: #FFBD40; }
|
34
|
+
.cm-s-xq-dark span.cm-atom { color: #6C8CD5; }
|
35
|
+
.cm-s-xq-dark span.cm-number { color: #164; }
|
36
|
+
.cm-s-xq-dark span.cm-def { color: #FFF; text-decoration:underline; }
|
37
|
+
.cm-s-xq-dark span.cm-variable { color: #FFF; }
|
38
|
+
.cm-s-xq-dark span.cm-variable-2 { color: #EEE; }
|
39
|
+
.cm-s-xq-dark span.cm-variable-3, .cm-s-xq-dark span.cm-type { color: #DDD; }
|
40
|
+
.cm-s-xq-dark span.cm-property {}
|
41
|
+
.cm-s-xq-dark span.cm-operator {}
|
42
|
+
.cm-s-xq-dark span.cm-comment { color: gray; }
|
43
|
+
.cm-s-xq-dark span.cm-string { color: #9FEE00; }
|
44
|
+
.cm-s-xq-dark span.cm-meta { color: yellow; }
|
45
|
+
.cm-s-xq-dark span.cm-qualifier { color: #FFF700; }
|
46
|
+
.cm-s-xq-dark span.cm-builtin { color: #30a; }
|
47
|
+
.cm-s-xq-dark span.cm-bracket { color: #cc7; }
|
48
|
+
.cm-s-xq-dark span.cm-tag { color: #FFBD40; }
|
49
|
+
.cm-s-xq-dark span.cm-attribute { color: #FFF700; }
|
50
|
+
.cm-s-xq-dark span.cm-error { color: #f00; }
|
51
|
+
|
52
|
+
.cm-s-xq-dark .CodeMirror-activeline-background { background: #27282E; }
|
53
|
+
.cm-s-xq-dark .CodeMirror-matchingbracket { outline:1px solid grey; color:white !important; }
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (C) 2011 by MarkLogic Corporation
|
3
|
+
Author: Mike Brevoort <mike@brevoort.com>
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
22
|
+
*/
|
23
|
+
.cm-s-xq-light span.cm-keyword { line-height: 1em; font-weight: bold; color: #5A5CAD; }
|
24
|
+
.cm-s-xq-light span.cm-atom { color: #6C8CD5; }
|
25
|
+
.cm-s-xq-light span.cm-number { color: #164; }
|
26
|
+
.cm-s-xq-light span.cm-def { text-decoration:underline; }
|
27
|
+
.cm-s-xq-light span.cm-variable { color: black; }
|
28
|
+
.cm-s-xq-light span.cm-variable-2 { color:black; }
|
29
|
+
.cm-s-xq-light span.cm-variable-3, .cm-s-xq-light span.cm-type { color: black; }
|
30
|
+
.cm-s-xq-light span.cm-property {}
|
31
|
+
.cm-s-xq-light span.cm-operator {}
|
32
|
+
.cm-s-xq-light span.cm-comment { color: #0080FF; font-style: italic; }
|
33
|
+
.cm-s-xq-light span.cm-string { color: red; }
|
34
|
+
.cm-s-xq-light span.cm-meta { color: yellow; }
|
35
|
+
.cm-s-xq-light span.cm-qualifier { color: grey; }
|
36
|
+
.cm-s-xq-light span.cm-builtin { color: #7EA656; }
|
37
|
+
.cm-s-xq-light span.cm-bracket { color: #cc7; }
|
38
|
+
.cm-s-xq-light span.cm-tag { color: #3F7F7F; }
|
39
|
+
.cm-s-xq-light span.cm-attribute { color: #7F007F; }
|
40
|
+
.cm-s-xq-light span.cm-error { color: #f00; }
|
41
|
+
|
42
|
+
.cm-s-xq-light .CodeMirror-activeline-background { background: #e8f2ff; }
|
43
|
+
.cm-s-xq-light .CodeMirror-matchingbracket { outline:1px solid grey;color:black !important;background:yellow; }
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Name: yeti
|
4
|
+
Author: Michael Kaminsky (http://github.com/mkaminsky11)
|
5
|
+
|
6
|
+
Original yeti color scheme by Jesse Weed (https://github.com/jesseweed/yeti-syntax)
|
7
|
+
|
8
|
+
*/
|
9
|
+
|
10
|
+
|
11
|
+
.cm-s-yeti.CodeMirror {
|
12
|
+
background-color: #ECEAE8 !important;
|
13
|
+
color: #d1c9c0 !important;
|
14
|
+
border: none;
|
15
|
+
}
|
16
|
+
|
17
|
+
.cm-s-yeti .CodeMirror-gutters {
|
18
|
+
color: #adaba6;
|
19
|
+
background-color: #E5E1DB;
|
20
|
+
border: none;
|
21
|
+
}
|
22
|
+
.cm-s-yeti .CodeMirror-cursor { border-left: solid thin #d1c9c0; }
|
23
|
+
.cm-s-yeti .CodeMirror-linenumber { color: #adaba6; }
|
24
|
+
.cm-s-yeti.CodeMirror-focused div.CodeMirror-selected { background: #DCD8D2; }
|
25
|
+
.cm-s-yeti .CodeMirror-line::selection, .cm-s-yeti .CodeMirror-line > span::selection, .cm-s-yeti .CodeMirror-line > span > span::selection { background: #DCD8D2; }
|
26
|
+
.cm-s-yeti .CodeMirror-line::-moz-selection, .cm-s-yeti .CodeMirror-line > span::-moz-selection, .cm-s-yeti .CodeMirror-line > span > span::-moz-selection { background: #DCD8D2; }
|
27
|
+
.cm-s-yeti span.cm-comment { color: #d4c8be; }
|
28
|
+
.cm-s-yeti span.cm-string, .cm-s-yeti span.cm-string-2 { color: #96c0d8; }
|
29
|
+
.cm-s-yeti span.cm-number { color: #a074c4; }
|
30
|
+
.cm-s-yeti span.cm-variable { color: #55b5db; }
|
31
|
+
.cm-s-yeti span.cm-variable-2 { color: #a074c4; }
|
32
|
+
.cm-s-yeti span.cm-def { color: #55b5db; }
|
33
|
+
.cm-s-yeti span.cm-operator { color: #9fb96e; }
|
34
|
+
.cm-s-yeti span.cm-keyword { color: #9fb96e; }
|
35
|
+
.cm-s-yeti span.cm-atom { color: #a074c4; }
|
36
|
+
.cm-s-yeti span.cm-meta { color: #96c0d8; }
|
37
|
+
.cm-s-yeti span.cm-tag { color: #96c0d8; }
|
38
|
+
.cm-s-yeti span.cm-attribute { color: #9fb96e; }
|
39
|
+
.cm-s-yeti span.cm-qualifier { color: #96c0d8; }
|
40
|
+
.cm-s-yeti span.cm-property { color: #a074c4; }
|
41
|
+
.cm-s-yeti span.cm-builtin { color: #a074c4; }
|
42
|
+
.cm-s-yeti span.cm-variable-3, .cm-s-yeti span.cm-type { color: #96c0d8; }
|
43
|
+
.cm-s-yeti .CodeMirror-activeline-background { background: #E7E4E0; }
|
44
|
+
.cm-s-yeti .CodeMirror-matchingbracket { text-decoration: underline; }
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/**
|
2
|
+
* "
|
3
|
+
* Using Zenburn color palette from the Emacs Zenburn Theme
|
4
|
+
* https://github.com/bbatsov/zenburn-emacs/blob/master/zenburn-theme.el
|
5
|
+
*
|
6
|
+
* Also using parts of https://github.com/xavi/coderay-lighttable-theme
|
7
|
+
* "
|
8
|
+
* From: https://github.com/wisenomad/zenburn-lighttable-theme/blob/master/zenburn.css
|
9
|
+
*/
|
10
|
+
|
11
|
+
.cm-s-zenburn .CodeMirror-gutters { background: #3f3f3f !important; }
|
12
|
+
.cm-s-zenburn .CodeMirror-foldgutter-open, .CodeMirror-foldgutter-folded { color: #999; }
|
13
|
+
.cm-s-zenburn .CodeMirror-cursor { border-left: 1px solid white; }
|
14
|
+
.cm-s-zenburn { background-color: #3f3f3f; color: #dcdccc; }
|
15
|
+
.cm-s-zenburn span.cm-builtin { color: #dcdccc; font-weight: bold; }
|
16
|
+
.cm-s-zenburn span.cm-comment { color: #7f9f7f; }
|
17
|
+
.cm-s-zenburn span.cm-keyword { color: #f0dfaf; font-weight: bold; }
|
18
|
+
.cm-s-zenburn span.cm-atom { color: #bfebbf; }
|
19
|
+
.cm-s-zenburn span.cm-def { color: #dcdccc; }
|
20
|
+
.cm-s-zenburn span.cm-variable { color: #dfaf8f; }
|
21
|
+
.cm-s-zenburn span.cm-variable-2 { color: #dcdccc; }
|
22
|
+
.cm-s-zenburn span.cm-string { color: #cc9393; }
|
23
|
+
.cm-s-zenburn span.cm-string-2 { color: #cc9393; }
|
24
|
+
.cm-s-zenburn span.cm-number { color: #dcdccc; }
|
25
|
+
.cm-s-zenburn span.cm-tag { color: #93e0e3; }
|
26
|
+
.cm-s-zenburn span.cm-property { color: #dfaf8f; }
|
27
|
+
.cm-s-zenburn span.cm-attribute { color: #dfaf8f; }
|
28
|
+
.cm-s-zenburn span.cm-qualifier { color: #7cb8bb; }
|
29
|
+
.cm-s-zenburn span.cm-meta { color: #f0dfaf; }
|
30
|
+
.cm-s-zenburn span.cm-header { color: #f0efd0; }
|
31
|
+
.cm-s-zenburn span.cm-operator { color: #f0efd0; }
|
32
|
+
.cm-s-zenburn span.CodeMirror-matchingbracket { box-sizing: border-box; background: transparent; border-bottom: 1px solid; }
|
33
|
+
.cm-s-zenburn span.CodeMirror-nonmatchingbracket { border-bottom: 1px solid; background: none; }
|
34
|
+
.cm-s-zenburn .CodeMirror-activeline { background: #000000; }
|
35
|
+
.cm-s-zenburn .CodeMirror-activeline-background { background: #000000; }
|
36
|
+
.cm-s-zenburn div.CodeMirror-selected { background: #545454; }
|
37
|
+
.cm-s-zenburn .CodeMirror-focused div.CodeMirror-selected { background: #4f4f4f; }
|
@@ -0,0 +1,16 @@
|
|
1
|
+
root = true
|
2
|
+
|
3
|
+
[*.{json,js}]
|
4
|
+
charset = utf-8
|
5
|
+
end_of_line = lf
|
6
|
+
insert_final_newline = true
|
7
|
+
indent_style = space
|
8
|
+
indent_size = 2
|
9
|
+
|
10
|
+
[*.md, !test/*.md]
|
11
|
+
charset = utf-8
|
12
|
+
end_of_line = lf
|
13
|
+
insert_final_newline = true
|
14
|
+
trim_trailing_whitespace = true
|
15
|
+
indent_style = tab
|
16
|
+
indent_size = 4
|
@@ -0,0 +1 @@
|
|
1
|
+
*.min.js
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"extends": "standard",
|
3
|
+
"plugins": [
|
4
|
+
"standard"
|
5
|
+
],
|
6
|
+
"parserOptions": { "ecmaVersion": 5 },
|
7
|
+
"rules": {
|
8
|
+
"semi": "off",
|
9
|
+
"indent": ["warn", 2, {
|
10
|
+
"VariableDeclarator": { "var": 2 },
|
11
|
+
"SwitchCase": 1,
|
12
|
+
"outerIIFEBody": 0
|
13
|
+
}],
|
14
|
+
"space-before-function-paren": "off",
|
15
|
+
"operator-linebreak": ["error", "before", { "overrides": { "=": "after" } }],
|
16
|
+
"no-cond-assign": "off",
|
17
|
+
"no-useless-escape": "off",
|
18
|
+
"no-return-assign": "off",
|
19
|
+
"one-var": "off",
|
20
|
+
"no-control-regex": "off"
|
21
|
+
},
|
22
|
+
"env": {
|
23
|
+
"node": true,
|
24
|
+
"browser": true,
|
25
|
+
"amd": true,
|
26
|
+
"jasmine": true
|
27
|
+
}
|
28
|
+
}
|
Binary file
|
@@ -0,0 +1,47 @@
|
|
1
|
+
language: node_js
|
2
|
+
|
3
|
+
jobs:
|
4
|
+
fast_finish: true
|
5
|
+
allow_failures:
|
6
|
+
- stage: security scan 🔐
|
7
|
+
|
8
|
+
include:
|
9
|
+
- stage: unit tests 👩🏽💻
|
10
|
+
script: npm run test:unit
|
11
|
+
node_js: lts/*
|
12
|
+
|
13
|
+
- stage: spec tests 👩🏽💻
|
14
|
+
script: npm run test:specs
|
15
|
+
node_js: v0.10
|
16
|
+
- node_js: v4
|
17
|
+
- node_js: lts/*
|
18
|
+
- node_js: node
|
19
|
+
|
20
|
+
- stage: lint ✨
|
21
|
+
script: npm run test:lint
|
22
|
+
node_js: lts/*
|
23
|
+
|
24
|
+
- stage: minify 🗜️
|
25
|
+
script: |
|
26
|
+
npm run build
|
27
|
+
if ! git diff --quiet; then
|
28
|
+
git config --global user.email "travis@travis-ci.org"
|
29
|
+
git config --global user.name "Travis-CI"
|
30
|
+
git config credential.helper "store --file=.git/credentials"
|
31
|
+
echo "https://${GITHUB_TOKEN}:@github.com" > .git/credentials
|
32
|
+
git commit -am '🗜️ minify [skip ci]'
|
33
|
+
git push origin HEAD:${TRAVIS_BRANCH}
|
34
|
+
fi
|
35
|
+
node_js: lts/*
|
36
|
+
if: branch = master AND type = push
|
37
|
+
|
38
|
+
- stage: security scan 🔐
|
39
|
+
script: npm run test:redos
|
40
|
+
node_js: lts/*
|
41
|
+
|
42
|
+
cache:
|
43
|
+
directories:
|
44
|
+
- node_modules
|
45
|
+
|
46
|
+
git:
|
47
|
+
depth: 3
|
@@ -0,0 +1,15 @@
|
|
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
|
+
man/marked.1.txt:
|
13
|
+
groff -man -Tascii man/marked.1 | col -b > man/marked.1.txt
|
14
|
+
|
15
|
+
.PHONY: clean all
|
@@ -0,0 +1,15 @@
|
|
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
|
+
man/marked.1.txt:
|
13
|
+
groff -man -Tascii man/marked.1 | col -b > man/marked.1.txt
|
14
|
+
|
15
|
+
.PHONY: clean all
|