github.com/elliott5/community@v0.14.1-0.20160709191136-823126fb026a/app/public/codemirror/mode/ntriples/index.html (about) 1 <!doctype html> 2 3 <title>CodeMirror: NTriples mode</title> 4 <meta charset="utf-8"/> 5 <link rel=stylesheet href="../../doc/docs.css"> 6 7 <link rel="stylesheet" href="../../lib/codemirror.css"> 8 <script src="../../lib/codemirror.js"></script> 9 <script src="ntriples.js"></script> 10 <style type="text/css"> 11 .CodeMirror { 12 border: 1px solid #eee; 13 } 14 </style> 15 <div id=nav> 16 <a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a> 17 18 <ul> 19 <li><a href="../../index.html">Home</a> 20 <li><a href="../../doc/manual.html">Manual</a> 21 <li><a href="https://github.com/codemirror/codemirror">Code</a> 22 </ul> 23 <ul> 24 <li><a href="../index.html">Language modes</a> 25 <li><a class=active href="#">NTriples</a> 26 </ul> 27 </div> 28 29 <article> 30 <h2>NTriples mode</h2> 31 <form> 32 <textarea id="ntriples" name="ntriples"> 33 <http://Sub1> <http://pred1> <http://obj> . 34 <http://Sub2> <http://pred2#an2> "literal 1" . 35 <http://Sub3#an3> <http://pred3> _:bnode3 . 36 _:bnode4 <http://pred4> "literal 2"@lang . 37 _:bnode5 <http://pred5> "literal 3"^^<http://type> . 38 </textarea> 39 </form> 40 41 <script> 42 var editor = CodeMirror.fromTextArea(document.getElementById("ntriples"), {}); 43 </script> 44 <p><strong>MIME types defined:</strong> <code>text/n-triples</code>.</p> 45 </article>