openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

index.html (1329B)


      1 <!doctype html>
      2 
      3 <title>CodeMirror: ASCII Armor (PGP) 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="asciiarmor.js"></script>
     10 <style>.CodeMirror {background: #f8f8f8;}</style>
     11 <div id=nav>
     12   <a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></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/codemirror">Code</a>
     18   </ul>
     19   <ul>
     20     <li><a href="../index.html">Language modes</a>
     21     <li><a class=active href="#">ASCII Armor</a>
     22   </ul>
     23 </div>
     24 
     25 <article>
     26 <h2>ASCII Armor (PGP) mode</h2>
     27 <form><textarea id="code" name="code">
     28 -----BEGIN PGP MESSAGE-----
     29 Version: OpenPrivacy 0.99
     30 
     31 yDgBO22WxBHv7O8X7O/jygAEzol56iUKiXmV+XmpCtmpqQUKiQrFqclFqUDBovzS
     32 vBSFjNSiVHsuAA==
     33 =njUN
     34 -----END PGP MESSAGE-----
     35 </textarea></form>
     36 
     37 <script>
     38 var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
     39   lineNumbers: true
     40 });
     41 </script>
     42 
     43 <p><strong>MIME types
     44 defined:</strong> <code>application/pgp</code>, <code>application/pgp-encrypted</code>, <code>application/pgp-keys</code>, <code>application/pgp-signature</code></p>
     45 
     46 </article>