comparison .cms/lib/codemirror/mode/mbox/index.html @ 0:78edf6b517a0 draft

24.10
author Coffee CMS <info@coffee-cms.ru>
date Fri, 11 Oct 2024 22:40:23 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:78edf6b517a0
1 <!doctype html>
2
3 <title>CodeMirror: mbox 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="mbox.js"></script>
10 <style>.CodeMirror { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }</style>
11 <div id=nav>
12 <a href="https://codemirror.net/5"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png" alt=""></a>
13
14 <ul>
15 <li><a href="../../index.html">Home</a>
16 <li><a href="../../doc/manual.html">Manual</a>
17 <li><a href="https://github.com/codemirror/codemirror5">Code</a>
18 </ul>
19 <ul>
20 <li><a href="../index.html">Language modes</a>
21 <li><a class=active href="#">mbox</a>
22 </ul>
23 </div>
24
25 <article>
26 <h2>mbox mode</h2>
27 <form><textarea id="code" name="code">
28 From timothygu99@gmail.com Sun Apr 17 01:40:43 2016
29 From: Timothy Gu &lt;timothygu99@gmail.com&gt;
30 Date: Sat, 16 Apr 2016 18:40:43 -0700
31 Subject: mbox mode
32 Message-ID: &lt;Z8d+bTT50U/az94FZnyPkDjZmW0=@gmail.com&gt;
33
34 mbox mode is working!
35
36 Timothy
37 </textarea></form>
38 <script>
39 var editor = CodeMirror.fromTextArea(document.getElementById("code"), {});
40 </script>
41
42 <p><strong>MIME types defined:</strong> <code>application/mbox</code>.</p>
43
44 </article>