diff options
Diffstat (limited to 'dingus.html')
-rw-r--r-- | dingus.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dingus.html b/dingus.html index 6b379eb..ee1622f 100644 --- a/dingus.html +++ b/dingus.html @@ -10,6 +10,7 @@ <script type="text/javascript"> var writer = new commonmark.HtmlRenderer(); +var astwriter = new commonmark.ASTRenderer(); var reader = new commonmark.DocParser(); function getQueryVariable(variable) { @@ -57,7 +58,7 @@ $(document).ready(function() { var renderTime = endTime - startTime; $("#preview").html(result); $("#html").text(result); - $("#ast").text(commonmark.ASTRenderer(parsed)); + $("#ast").text(astwriter.render(parsed)); $("#rendertime").text(renderTime); }; var parseAndRender = function() { |