1<!doctype html> 2<html lang="en"> 3<head> 4 <meta charset="utf-8"> 5 <title>commonmark.js demo</title> 6 <link href="bootstrap.min.css" rel="stylesheet"> 7 <link href="dingus.css" rel="stylesheet"> 8
8<script src="jquery.min.js"></script>
8 9
9<script src="bootstrap.min.js"></script>
9 10
10<script src="lodash.min.js"></script>
10 11
11<script src="commonmark.js"></script>
11 12</head> 13<body> 14<div class="container"> 15 <div class="row"> 16 <div class="col-md-6"> 17 <h1 class="title">commonmark.js dingus</h1> 18 </div> 19 </div> 20 <div class="row"> 21 <div class="col-md-6"> 22 <p id="text-controls"><a id="clear-text-box">clear</a> <a 23 id="permalink">permalink</a> 24 <label for="smart">Smart punctuation</label> 25 <input type="checkbox" id="smart"/> 26 </p> 27 <textarea id="text">## Try CommonMark 28 29You can try CommonMark here. This dingus is powered by 30[commonmark.js](https://github.com/commonmark/commonmark.js), the 31JavaScript reference implementation. 32 331. item one 342. item two 35 - sublist 36 - sublist 37 38</textarea> 39 <ul id="warnings"></ul> 40 </div> 41 <div class="col-md-6"> 42 <ul id="result-tabs" class="nav nav-tabs" role="tablist"> 43 <li class="active"><a href="#preview" role="tab" data-toggle="tab">Preview</a></li> 44 <li><a href="#result" role="tab" data-toggle="tab">HTML</a></li> 45 <li><a href="#result-ast" role="tab" data-toggle="tab">AST</a></li> 46 </ul> 47 <div class="tab-content"> 48 <div id="preview" class="tab-pane active"> 49 <iframe src="preview.html" frameborder="0" sandbox="allow-same-origin"></iframe> 50 </div> 51 <div id="result" class="tab-pane"> 52 <pre id="htmlpre"><code id="html"></code></pre> 53 </div> 54 <div id="result-ast" class="tab-pane"> 55 <pre id="astpre"><code id="ast"></code></pre> 56 </div> 57 </div> 58 <div class="timing">Parsed in <span class="timing" id="parsetime"></span> 59 ms. Rendered in <span class="timing" id="rendertime"></span> ms.</div> 60 </div> 61</div>
62<script src="dingus.js"></script>
62 63</body> 64</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.