all repos — NoPaste @ ad688e0acc0360cf52f5ee4d90c4767d1804e7a3

Resurrected - The PussTheCat.org fork of NoPaste

scripts/CodeMirror/mode/asciiarmor/index.html (view raw)

 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="https://codemirror.net"><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/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-----
29Version: OpenPrivacy 0.99
30
31yDgBO22WxBHv7O8X7O/jygAEzol56iUKiXmV+XmpCtmpqQUKiQrFqclFqUDBovzS
32vBSFjNSiVHsuAA==
33=njUN
34-----END PGP MESSAGE-----
35</textarea></form>
36
37<script>
38var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
39  lineNumbers: true
40});
41</script>
42
43<p><strong>MIME types
44defined:</strong> <code>application/pgp</code>, <code>application/pgp-encrypted</code>, <code>application/pgp-keys</code>, <code>application/pgp-signature</code></p>
45
46</article>