Sha256: 6b88b7455c86935b8efd7f587f8ec7f73aa0896294211d86b85e0222c53e8aba

Contents?: true

Size: 1.18 KB

Versions: 12

Compression:

Stored size: 1.18 KB

Contents

<!doctype html>
<html>
  <head>
    <title>CodeMirror: Properties files mode</title>
    <link rel="stylesheet" href="../../lib/codemirror.css">
    <script src="../../lib/codemirror.js"></script>
    <script src="properties.js"></script>
    <link rel="stylesheet" href="properties.css">
    <style>.CodeMirror {border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;}</style>
    <link rel="stylesheet" href="../../doc/docs.css">
  </head>
  <body>
    <h1>CodeMirror: Properties files mode</h1>
    <form><textarea id="code" name="code">
# This is a properties file
a.key = A value
another.key = http://example.com
! Exclamation mark as comment
but.not=Within ! A value # indeed
   # Spaces at the beginning of a line
   spaces.before.key=value
backslash=Used for multi\
          line entries,\
          that's convenient.
# Unicode sequences
unicode.key=This is \u0020 Unicode
no.multiline=here
# Colons
colons : can be used too
# Spaces
spaces\ in\ keys=Not very common...
</textarea></form>
    <script>
      var editor = CodeMirror.fromTextArea(document.getElementById("code"), {});
    </script>

    <p><strong>MIME types defined:</strong> <code>text/x-properties</code>.</p>

  </body>
</html>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
milksteak-0.0.15 lib/public/milksteak/codemirror2/mode/properties/index.html
milksteak-0.0.13 lib/public/milksteak/codemirror2/mode/properties/index.html
milksteak-0.0.12 lib/public/milksteak/codemirror2/mode/properties/index.html
milksteak-0.0.11 lib/public/milksteak/codemirror2/mode/properties/index.html
milksteak-0.0.10 lib/public/milksteak/codemirror2/mode/properties/index.html
milksteak-0.0.9 lib/public/milksteak/codemirror2/mode/properties/index.html
milksteak-0.0.8 lib/public/milksteak/codemirror2/mode/properties/index.html
milksteak-0.0.7 lib/public/milksteak/codemirror2/mode/properties/index.html
milksteak-0.0.6 lib/public/milksteak/codemirror2/mode/properties/index.html
milksteak-0.0.4 lib/public/milksteak/codemirror2/mode/properties/index.html
milksteak-0.0.3 lib/public/milksteak/codemirror2/mode/properties/index.html
milksteak-0.0.2 lib/public/milksteak/codemirror2/mode/properties/index.html