Sha256: 543cf1d6905867fb0ea7001d8a0a1afcd36419665465c613e600fdaee332727b

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 Bytes

Contents

h1 Let's try in-browser code editing

/! script src="js/coffee-script.js" type="text/javascript"
div class="container" id="code"
  textarea id="editor" cols="50" rows="10" style="width:30%"
    | # Hello
      # This looks ok. How very nice!
      a = 1 + 2

script type="text/javascript"
  | var editor = CodeMirror.fromTextArea(document.getElementById("editor"), {
      lineNumbers: true,
      mode: "ruby",
      theme: "lesser-dark"
    });

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
swagr-0.0.8 examples/examples01/views/about.slim
swagr-0.0.8 templates/views/about.slim