2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-07-15 22:14:28 -06:00
easy-markdown-editor/test/index_old.html
2025-05-01 17:22:17 +02:00

44 lines
997 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/easymde/dist/easymde.min.css"
/>
<script src="https://cdn.jsdelivr.net/npm/easymde/dist/easymde.min.js"></script>
</head>
<body>
<button onclick="x.toTextArea()">DESTROY</button>
<button onclick="x.render()">Render</button>
<hr />
<br />
<textarea id="text">
**Moooooo**
ooo
`code`
*sdhjk*
# head?
~~hjhj~~
***Bold & Brash***
last
`const x = "moooo";`
```js
const x = "moooo";
```
</textarea
>
<script type="module">
window.x = new EasyMDE({
element: document.getElementById("text"),
});
</script>
</body>
</html>