Edit File by line
/home/barbar84/www/wp-conte.../plugins/wp-file-.../lib/codemirr.../mode/tornado
File: index.html
<!doctype html>
[0] Fix | Delete
[1] Fix | Delete
<title>CodeMirror: Tornado template mode</title>
[2] Fix | Delete
<meta charset="utf-8"/>
[3] Fix | Delete
<link rel=stylesheet href="../../doc/docs.css">
[4] Fix | Delete
[5] Fix | Delete
<link rel="stylesheet" href="../../lib/codemirror.css">
[6] Fix | Delete
<script src="../../lib/codemirror.js"></script>
[7] Fix | Delete
<script src="../../addon/mode/overlay.js"></script>
[8] Fix | Delete
<script src="../xml/xml.js"></script>
[9] Fix | Delete
<script src="../htmlmixed/htmlmixed.js"></script>
[10] Fix | Delete
<script src="tornado.js"></script>
[11] Fix | Delete
<style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
[12] Fix | Delete
<div id=nav>
[13] Fix | Delete
<a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
[14] Fix | Delete
[15] Fix | Delete
<ul>
[16] Fix | Delete
<li><a href="../../index.html">Home</a>
[17] Fix | Delete
<li><a href="../../doc/manual.html">Manual</a>
[18] Fix | Delete
<li><a href="https://github.com/marijnh/codemirror">Code</a>
[19] Fix | Delete
</ul>
[20] Fix | Delete
<ul>
[21] Fix | Delete
<li><a href="../index.html">Language modes</a>
[22] Fix | Delete
<li><a class=active href="#">Tornado</a>
[23] Fix | Delete
</ul>
[24] Fix | Delete
</div>
[25] Fix | Delete
[26] Fix | Delete
<article>
[27] Fix | Delete
<h2>Tornado template mode</h2>
[28] Fix | Delete
<form><textarea id="code" name="code">
[29] Fix | Delete
<!doctype html>
[30] Fix | Delete
<html>
[31] Fix | Delete
<head>
[32] Fix | Delete
<title>My Tornado web application</title>
[33] Fix | Delete
</head>
[34] Fix | Delete
<body>
[35] Fix | Delete
<h1>
[36] Fix | Delete
{{ title }}
[37] Fix | Delete
</h1>
[38] Fix | Delete
<ul class="my-list">
[39] Fix | Delete
{% for item in items %}
[40] Fix | Delete
<li>{% item.name %}</li>
[41] Fix | Delete
{% empty %}
[42] Fix | Delete
<li>You have no items in your list.</li>
[43] Fix | Delete
{% end %}
[44] Fix | Delete
</ul>
[45] Fix | Delete
</body>
[46] Fix | Delete
</html>
[47] Fix | Delete
</textarea></form>
[48] Fix | Delete
[49] Fix | Delete
<script>
[50] Fix | Delete
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
[51] Fix | Delete
lineNumbers: true,
[52] Fix | Delete
mode: "tornado",
[53] Fix | Delete
indentUnit: 4,
[54] Fix | Delete
indentWithTabs: true
[55] Fix | Delete
});
[56] Fix | Delete
</script>
[57] Fix | Delete
[58] Fix | Delete
<p>Mode for HTML with embedded Tornado template markup.</p>
[59] Fix | Delete
[60] Fix | Delete
<p><strong>MIME types defined:</strong> <code>text/x-tornado</code></p>
[61] Fix | Delete
</article>
[62] Fix | Delete
[63] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function