5 <title>CodeMirror: NTriples mode</title>
6 <link rel="stylesheet" href="../../lib/codemirror.css">
7 <script src="../../lib/codemirror.js"></script>
8 <script src="ntriples.js"></script>
9 <link rel="stylesheet" href="../../doc/docs.css">
10 <style type="text/css">
12 border: 1px solid #eee;
17 <h1>CodeMirror: NTriples mode</h1>
19 <textarea id="ntriples" name="ntriples">
20 <http://Sub1> <http://pred1> <http://obj> .
21 <http://Sub2> <http://pred2#an2> "literal 1" .
22 <http://Sub3#an3> <http://pred3> _:bnode3 .
23 _:bnode4 <http://pred4> "literal 2"@lang .
24 _:bnode5 <http://pred5> "literal 3"^^<http://type> .
29 var editor = CodeMirror.fromTextArea(document.getElementById("ntriples"), {});
31 <p><strong>MIME types defined:</strong> <code>text/n-triples</code>.</p>