From 53bbbed3c43f5a3246f8ec5b7bc1ef939d277e5b Mon Sep 17 00:00:00 2001 From: JimQing Date: Sun, 3 May 2020 10:26:26 +0800 Subject: [PATCH 1/2] fix: code perttify --- src/App.vue | 4 - src/components/CodemirrorEditor.vue | 11 ++ .../google-code-prettify/lang-Splus.js | 18 +++ src/scripts/google-code-prettify/lang-aea.js | 18 +++ src/scripts/google-code-prettify/lang-agc.js | 18 +++ .../google-code-prettify/lang-apollo.js | 18 +++ .../google-code-prettify/lang-basic.js | 18 +++ src/scripts/google-code-prettify/lang-cbm.js | 18 +++ src/scripts/google-code-prettify/lang-cl.js | 18 +++ src/scripts/google-code-prettify/lang-clj.js | 17 +++ src/scripts/google-code-prettify/lang-css.js | 18 +++ src/scripts/google-code-prettify/lang-dart.js | 19 +++ src/scripts/google-code-prettify/lang-el.js | 18 +++ src/scripts/google-code-prettify/lang-erl.js | 18 +++ .../google-code-prettify/lang-erlang.js | 18 +++ src/scripts/google-code-prettify/lang-ex.js | 19 +++ src/scripts/google-code-prettify/lang-exs.js | 19 +++ src/scripts/google-code-prettify/lang-fs.js | 18 +++ src/scripts/google-code-prettify/lang-go.js | 17 +++ src/scripts/google-code-prettify/lang-hs.js | 18 +++ .../google-code-prettify/lang-kotlin.js | 18 +++ .../google-code-prettify/lang-lasso.js | 20 +++ .../google-code-prettify/lang-lassoscript.js | 20 +++ .../google-code-prettify/lang-latex.js | 17 +++ src/scripts/google-code-prettify/lang-lgt.js | 18 +++ src/scripts/google-code-prettify/lang-lisp.js | 18 +++ src/scripts/google-code-prettify/lang-ll.js | 17 +++ src/scripts/google-code-prettify/lang-llvm.js | 17 +++ .../google-code-prettify/lang-logtalk.js | 18 +++ src/scripts/google-code-prettify/lang-ls.js | 20 +++ src/scripts/google-code-prettify/lang-lsp.js | 18 +++ src/scripts/google-code-prettify/lang-lua.js | 18 +++ .../google-code-prettify/lang-matlab.js | 29 ++++ src/scripts/google-code-prettify/lang-ml.js | 18 +++ .../google-code-prettify/lang-mumps.js | 18 +++ src/scripts/google-code-prettify/lang-n.js | 19 +++ .../google-code-prettify/lang-nemerle.js | 19 +++ .../google-code-prettify/lang-pascal.js | 18 +++ .../google-code-prettify/lang-proto.js | 17 +++ src/scripts/google-code-prettify/lang-r.js | 18 +++ src/scripts/google-code-prettify/lang-rd.js | 17 +++ src/scripts/google-code-prettify/lang-rkt.js | 18 +++ src/scripts/google-code-prettify/lang-rust.js | 20 +++ src/scripts/google-code-prettify/lang-s.js | 18 +++ .../google-code-prettify/lang-scala.js | 18 +++ src/scripts/google-code-prettify/lang-scm.js | 18 +++ src/scripts/google-code-prettify/lang-sql.js | 18 +++ src/scripts/google-code-prettify/lang-ss.js | 18 +++ .../google-code-prettify/lang-swift.js | 18 +++ src/scripts/google-code-prettify/lang-tcl.js | 18 +++ src/scripts/google-code-prettify/lang-tex.js | 17 +++ src/scripts/google-code-prettify/lang-vb.js | 19 +++ src/scripts/google-code-prettify/lang-vbs.js | 19 +++ src/scripts/google-code-prettify/lang-vhd.js | 19 +++ src/scripts/google-code-prettify/lang-vhdl.js | 19 +++ src/scripts/google-code-prettify/lang-wiki.js | 18 +++ src/scripts/google-code-prettify/lang-xq.js | 19 +++ .../google-code-prettify/lang-xquery.js | 19 +++ src/scripts/google-code-prettify/lang-yaml.js | 18 +++ src/scripts/google-code-prettify/lang-yml.js | 18 +++ src/scripts/google-code-prettify/prettify.css | 1 + src/scripts/google-code-prettify/prettify.js | 46 ++++++ .../google-code-prettify/run_prettify.js | 64 +++++++++ .../google-code-prettify/skins/desert.css | 1 + .../google-code-prettify/skins/doxy.css | 1 + .../skins/sons-of-obsidian.css | 1 + .../google-code-prettify/skins/sunburst.css | 1 + src/store/index.js | 1 - yarn.lock | 134 +++++++++++++++++- 69 files changed, 1321 insertions(+), 10 deletions(-) create mode 100644 src/scripts/google-code-prettify/lang-Splus.js create mode 100644 src/scripts/google-code-prettify/lang-aea.js create mode 100644 src/scripts/google-code-prettify/lang-agc.js create mode 100644 src/scripts/google-code-prettify/lang-apollo.js create mode 100644 src/scripts/google-code-prettify/lang-basic.js create mode 100644 src/scripts/google-code-prettify/lang-cbm.js create mode 100644 src/scripts/google-code-prettify/lang-cl.js create mode 100644 src/scripts/google-code-prettify/lang-clj.js create mode 100644 src/scripts/google-code-prettify/lang-css.js create mode 100644 src/scripts/google-code-prettify/lang-dart.js create mode 100644 src/scripts/google-code-prettify/lang-el.js create mode 100644 src/scripts/google-code-prettify/lang-erl.js create mode 100644 src/scripts/google-code-prettify/lang-erlang.js create mode 100644 src/scripts/google-code-prettify/lang-ex.js create mode 100644 src/scripts/google-code-prettify/lang-exs.js create mode 100644 src/scripts/google-code-prettify/lang-fs.js create mode 100644 src/scripts/google-code-prettify/lang-go.js create mode 100644 src/scripts/google-code-prettify/lang-hs.js create mode 100644 src/scripts/google-code-prettify/lang-kotlin.js create mode 100644 src/scripts/google-code-prettify/lang-lasso.js create mode 100644 src/scripts/google-code-prettify/lang-lassoscript.js create mode 100644 src/scripts/google-code-prettify/lang-latex.js create mode 100644 src/scripts/google-code-prettify/lang-lgt.js create mode 100644 src/scripts/google-code-prettify/lang-lisp.js create mode 100644 src/scripts/google-code-prettify/lang-ll.js create mode 100644 src/scripts/google-code-prettify/lang-llvm.js create mode 100644 src/scripts/google-code-prettify/lang-logtalk.js create mode 100644 src/scripts/google-code-prettify/lang-ls.js create mode 100644 src/scripts/google-code-prettify/lang-lsp.js create mode 100644 src/scripts/google-code-prettify/lang-lua.js create mode 100644 src/scripts/google-code-prettify/lang-matlab.js create mode 100644 src/scripts/google-code-prettify/lang-ml.js create mode 100644 src/scripts/google-code-prettify/lang-mumps.js create mode 100644 src/scripts/google-code-prettify/lang-n.js create mode 100644 src/scripts/google-code-prettify/lang-nemerle.js create mode 100644 src/scripts/google-code-prettify/lang-pascal.js create mode 100644 src/scripts/google-code-prettify/lang-proto.js create mode 100644 src/scripts/google-code-prettify/lang-r.js create mode 100644 src/scripts/google-code-prettify/lang-rd.js create mode 100644 src/scripts/google-code-prettify/lang-rkt.js create mode 100644 src/scripts/google-code-prettify/lang-rust.js create mode 100644 src/scripts/google-code-prettify/lang-s.js create mode 100644 src/scripts/google-code-prettify/lang-scala.js create mode 100644 src/scripts/google-code-prettify/lang-scm.js create mode 100644 src/scripts/google-code-prettify/lang-sql.js create mode 100644 src/scripts/google-code-prettify/lang-ss.js create mode 100644 src/scripts/google-code-prettify/lang-swift.js create mode 100644 src/scripts/google-code-prettify/lang-tcl.js create mode 100644 src/scripts/google-code-prettify/lang-tex.js create mode 100644 src/scripts/google-code-prettify/lang-vb.js create mode 100644 src/scripts/google-code-prettify/lang-vbs.js create mode 100644 src/scripts/google-code-prettify/lang-vhd.js create mode 100644 src/scripts/google-code-prettify/lang-vhdl.js create mode 100644 src/scripts/google-code-prettify/lang-wiki.js create mode 100644 src/scripts/google-code-prettify/lang-xq.js create mode 100644 src/scripts/google-code-prettify/lang-xquery.js create mode 100644 src/scripts/google-code-prettify/lang-yaml.js create mode 100644 src/scripts/google-code-prettify/lang-yml.js create mode 100644 src/scripts/google-code-prettify/prettify.css create mode 100644 src/scripts/google-code-prettify/prettify.js create mode 100644 src/scripts/google-code-prettify/run_prettify.js create mode 100644 src/scripts/google-code-prettify/skins/desert.css create mode 100644 src/scripts/google-code-prettify/skins/doxy.css create mode 100644 src/scripts/google-code-prettify/skins/sons-of-obsidian.css create mode 100644 src/scripts/google-code-prettify/skins/sunburst.css diff --git a/src/App.vue b/src/App.vue index 71f1c0a..50a4640 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,7 +6,6 @@