-
-
Notifications
You must be signed in to change notification settings - Fork 148
/
Copy pathmarkdown.html
33 lines (26 loc) · 857 Bytes
/
markdown.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title> Markdown demo </title>
<link rel="stylesheet" type="text/css" href="https://storage.googleapis.com/app.klipse.tech/css/codemirror.css">
<link rel="stylesheet" type="text/css" href="https://viebel.github.io/klipse/examples/main.css">
</head>
<body class="container">
<h1> Markdown demo </h1>
<div>
The markdown is translated into HTML and the HTML is set with `innerHTML` of the dom element after the code snippet:
<code class="eval-markdown" data-editor-type="html">
# This is a title
`clojure` rocks!
</code>
</div>
<script>
window.klipse_settings = {
selector_eval_markdown: '.eval-markdown',
editor_type: 'html'
};
</script>
<script src="https://storage.googleapis.com/app.klipse.tech/plugin_prod/js/klipse_plugin.min.js"></script>
</body>
</html>