mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 17:18:35 +08:00
a915a09e4f
* Cleaning up public/ and documenting js/css libs. This commit mostly addresses #1484 by moving vendor'ed plugins into a vendor/ directory and documenting their upstream source and license in vendor/librejs.html. This also proves gitea is using only open source js/css libraries which helps toward reaching #1524. * Removing unused css file. The version of this file in use is located at: vendor/plugins/highlight/github.css * Cleaned up librejs.html and added javascript header A SafeJS function was added to templates/helper.go to allow keeping comments inside of javascript. A javascript comment was added in the header of templates/base/head.tmpl to mark all non-inline source as free. The librejs.html file was updated to meet the current librejs spec. I have now verified that the librejs plugin detects most of the scripts included in gitea and suspect the non-free detections are the result of a bug in the plugin. I believe this commit is enough to meet the C0.0 requirement of #1534. * Updating SafeJS function per lint suggestion * Added VERSIONS file, per request
165 lines
8.0 KiB
HTML
165 lines
8.0 KiB
HTML
<!doctype html>
|
|
|
|
<title>CodeMirror: Language Modes</title>
|
|
<meta charset="utf-8"/>
|
|
<link rel=stylesheet href="../doc/docs.css">
|
|
|
|
<div id=nav>
|
|
<a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../doc/logo.png"></a>
|
|
|
|
<ul>
|
|
<li><a href="../index.html">Home</a>
|
|
<li><a href="../doc/manual.html">Manual</a>
|
|
<li><a href="https://github.com/codemirror/codemirror">Code</a>
|
|
</ul>
|
|
<ul>
|
|
<li><a class=active href="#">Language modes</a>
|
|
</ul>
|
|
</div>
|
|
|
|
<article>
|
|
|
|
<h2>Language modes</h2>
|
|
|
|
<p>This is a list of every mode in the distribution. Each mode lives
|
|
in a subdirectory of the <code>mode/</code> directory, and typically
|
|
defines a single JavaScript file that implements the mode. Loading
|
|
such file will make the language available to CodeMirror, through
|
|
the <a href="../doc/manual.html#option_mode"><code>mode</code></a>
|
|
option.</p>
|
|
|
|
<div style="-webkit-columns: 100px 2; -moz-columns: 100px 2; columns: 100px 2;">
|
|
<ul style="margin-top: 0">
|
|
<li><a href="apl/index.html">APL</a></li>
|
|
<li><a href="asn.1/index.html">ASN.1</a></li>
|
|
<li><a href="asterisk/index.html">Asterisk dialplan</a></li>
|
|
<li><a href="brainfuck/index.html">Brainfuck</a></li>
|
|
<li><a href="clike/index.html">C, C++, C#</a></li>
|
|
<li><a href="clike/index.html">Ceylon</a></li>
|
|
<li><a href="clojure/index.html">Clojure</a></li>
|
|
<li><a href="css/gss.html">Closure Stylesheets (GSS)</a></li>
|
|
<li><a href="cmake/index.html">CMake</a></li>
|
|
<li><a href="cobol/index.html">COBOL</a></li>
|
|
<li><a href="coffeescript/index.html">CoffeeScript</a></li>
|
|
<li><a href="commonlisp/index.html">Common Lisp</a></li>
|
|
<li><a href="crystal/index.html">Crystal</a></li>
|
|
<li><a href="css/index.html">CSS</a></li>
|
|
<li><a href="cypher/index.html">Cypher</a></li>
|
|
<li><a href="python/index.html">Cython</a></li>
|
|
<li><a href="d/index.html">D</a></li>
|
|
<li><a href="dart/index.html">Dart</a></li>
|
|
<li><a href="django/index.html">Django</a> (templating language)</li>
|
|
<li><a href="dockerfile/index.html">Dockerfile</a></li>
|
|
<li><a href="diff/index.html">diff</a></li>
|
|
<li><a href="dtd/index.html">DTD</a></li>
|
|
<li><a href="dylan/index.html">Dylan</a></li>
|
|
<li><a href="ebnf/index.html">EBNF</a></li>
|
|
<li><a href="ecl/index.html">ECL</a></li>
|
|
<li><a href="eiffel/index.html">Eiffel</a></li>
|
|
<li><a href="elm/index.html">Elm</a></li>
|
|
<li><a href="erlang/index.html">Erlang</a></li>
|
|
<li><a href="factor/index.html">Factor</a></li>
|
|
<li><a href="fcl/index.html">FCL</a></li>
|
|
<li><a href="forth/index.html">Forth</a></li>
|
|
<li><a href="fortran/index.html">Fortran</a></li>
|
|
<li><a href="mllike/index.html">F#</a></li>
|
|
<li><a href="gas/index.html">Gas</a> (AT&T-style assembly)</li>
|
|
<li><a href="gherkin/index.html">Gherkin</a></li>
|
|
<li><a href="go/index.html">Go</a></li>
|
|
<li><a href="groovy/index.html">Groovy</a></li>
|
|
<li><a href="haml/index.html">HAML</a></li>
|
|
<li><a href="handlebars/index.html">Handlebars</a></li>
|
|
<li><a href="haskell/index.html">Haskell</a> (<a href="haskell-literate/index.html">Literate</a>)</li>
|
|
<li><a href="haxe/index.html">Haxe</a></li>
|
|
<li><a href="htmlembedded/index.html">HTML embedded</a> (JSP, ASP.NET)</li>
|
|
<li><a href="htmlmixed/index.html">HTML mixed-mode</a></li>
|
|
<li><a href="http/index.html">HTTP</a></li>
|
|
<li><a href="idl/index.html">IDL</a></li>
|
|
<li><a href="clike/index.html">Java</a></li>
|
|
<li><a href="jade/index.html">Jade</a></li>
|
|
<li><a href="javascript/index.html">JavaScript</a> (<a href="jsx/index.html">JSX</a>)</li>
|
|
<li><a href="jinja2/index.html">Jinja2</a></li>
|
|
<li><a href="julia/index.html">Julia</a></li>
|
|
<li><a href="kotlin/index.html">Kotlin</a></li>
|
|
<li><a href="css/less.html">LESS</a></li>
|
|
<li><a href="livescript/index.html">LiveScript</a></li>
|
|
<li><a href="lua/index.html">Lua</a></li>
|
|
<li><a href="markdown/index.html">Markdown</a> (<a href="gfm/index.html">GitHub-flavour</a>)</li>
|
|
<li><a href="mathematica/index.html">Mathematica</a></li>
|
|
<li><a href="mbox/index.html">mbox</a></li>
|
|
<li><a href="mirc/index.html">mIRC</a></li>
|
|
<li><a href="modelica/index.html">Modelica</a></li>
|
|
<li><a href="mscgen/index.html">MscGen</a></li>
|
|
<li><a href="mumps/index.html">MUMPS</a></li>
|
|
<li><a href="nginx/index.html">Nginx</a></li>
|
|
<li><a href="nsis/index.html">NSIS</a></li>
|
|
<li><a href="ntriples/index.html">NTriples</a></li>
|
|
<li><a href="clike/index.html">Objective C</a></li>
|
|
<li><a href="mllike/index.html">OCaml</a></li>
|
|
<li><a href="octave/index.html">Octave</a> (MATLAB)</li>
|
|
<li><a href="oz/index.html">Oz</a></li>
|
|
<li><a href="pascal/index.html">Pascal</a></li>
|
|
<li><a href="pegjs/index.html">PEG.js</a></li>
|
|
<li><a href="perl/index.html">Perl</a></li>
|
|
<li><a href="asciiarmor/index.html">PGP (ASCII armor)</a></li>
|
|
<li><a href="php/index.html">PHP</a></li>
|
|
<li><a href="pig/index.html">Pig Latin</a></li>
|
|
<li><a href="powershell/index.html">PowerShell</a></li>
|
|
<li><a href="properties/index.html">Properties files</a></li>
|
|
<li><a href="protobuf/index.html">ProtoBuf</a></li>
|
|
<li><a href="puppet/index.html">Puppet</a></li>
|
|
<li><a href="python/index.html">Python</a></li>
|
|
<li><a href="q/index.html">Q</a></li>
|
|
<li><a href="r/index.html">R</a></li>
|
|
<li><a href="rpm/index.html">RPM</a></li>
|
|
<li><a href="rst/index.html">reStructuredText</a></li>
|
|
<li><a href="ruby/index.html">Ruby</a></li>
|
|
<li><a href="rust/index.html">Rust</a></li>
|
|
<li><a href="sas/index.html">SAS</a></li>
|
|
<li><a href="sass/index.html">Sass</a></li>
|
|
<li><a href="spreadsheet/index.html">Spreadsheet</a></li>
|
|
<li><a href="clike/scala.html">Scala</a></li>
|
|
<li><a href="scheme/index.html">Scheme</a></li>
|
|
<li><a href="css/scss.html">SCSS</a></li>
|
|
<li><a href="shell/index.html">Shell</a></li>
|
|
<li><a href="sieve/index.html">Sieve</a></li>
|
|
<li><a href="slim/index.html">Slim</a></li>
|
|
<li><a href="smalltalk/index.html">Smalltalk</a></li>
|
|
<li><a href="smarty/index.html">Smarty</a></li>
|
|
<li><a href="solr/index.html">Solr</a></li>
|
|
<li><a href="soy/index.html">Soy</a></li>
|
|
<li><a href="stylus/index.html">Stylus</a></li>
|
|
<li><a href="sql/index.html">SQL</a> (several dialects)</li>
|
|
<li><a href="sparql/index.html">SPARQL</a></li>
|
|
<li><a href="clike/index.html">Squirrel</a></li>
|
|
<li><a href="swift/index.html">Swift</a></li>
|
|
<li><a href="stex/index.html">sTeX, LaTeX</a></li>
|
|
<li><a href="tcl/index.html">Tcl</a></li>
|
|
<li><a href="textile/index.html">Textile</a></li>
|
|
<li><a href="tiddlywiki/index.html">Tiddlywiki</a></li>
|
|
<li><a href="tiki/index.html">Tiki wiki</a></li>
|
|
<li><a href="toml/index.html">TOML</a></li>
|
|
<li><a href="tornado/index.html">Tornado</a> (templating language)</li>
|
|
<li><a href="troff/index.html">troff</a> (for manpages)</li>
|
|
<li><a href="ttcn/index.html">TTCN</a></li>
|
|
<li><a href="ttcn-cfg/index.html">TTCN Configuration</a></li>
|
|
<li><a href="turtle/index.html">Turtle</a></li>
|
|
<li><a href="twig/index.html">Twig</a></li>
|
|
<li><a href="vb/index.html">VB.NET</a></li>
|
|
<li><a href="vbscript/index.html">VBScript</a></li>
|
|
<li><a href="velocity/index.html">Velocity</a></li>
|
|
<li><a href="verilog/index.html">Verilog/SystemVerilog</a></li>
|
|
<li><a href="vhdl/index.html">VHDL</a></li>
|
|
<li><a href="vue/index.html">Vue.js app</a></li>
|
|
<li><a href="webidl/index.html">Web IDL</a></li>
|
|
<li><a href="xml/index.html">XML/HTML</a></li>
|
|
<li><a href="xquery/index.html">XQuery</a></li>
|
|
<li><a href="yacas/index.html">Yacas</a></li>
|
|
<li><a href="yaml/index.html">YAML</a></li>
|
|
<li><a href="yaml-frontmatter/index.html">YAML frontmatter</a></li>
|
|
<li><a href="z80/index.html">Z80</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</article>
|