Subversion-Projekte lars-tiefland.cienc

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

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