summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/js/index.html b/js/index.html
index fdd6a76..01afef2 100644
--- a/js/index.html
+++ b/js/index.html
@@ -2,15 +2,15 @@
<html lang="en">
<head>
<meta charset="utf-8">
- <title>stmd.js demo</title>
+ <title>commonmark.js demo</title>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
- <script src="stmd.js"></script>
+ <script src="commonmark.js"></script>
<script type="text/javascript">
-var writer = new stmd.HtmlRenderer();
-var reader = new stmd.DocParser();
+var writer = new commonmark.HtmlRenderer();
+var reader = new commonmark.DocParser();
$(document).ready(function() {
$(".timing").hide();
@@ -28,7 +28,7 @@ $(document).ready(function() {
// $("#html").text(result);
$("#preview").html(result);
$("#html").text(result);
- $("#ast").text(stmd.ASTRenderer(parsed));
+ $("#ast").text(commonmark.ASTRenderer(parsed));
$("#rendertime").text(renderTime);
};
var parseAndRender = function () {
@@ -77,7 +77,7 @@ $(document).ready(function() {
<div class="container">
<div class="row">
<div class="col-md-6">
- <h1>stmd.js dingus</h1>
+ <h1>commonmark.js dingus</h1>
</div>
<div class="col-md-4">
<ul class="nav nav-tabs" role="tablist">