try-toast-ui/index.html
Waylon S. Walker a32dedfbc7 Initial Commit for try-toast-ui
Learning about toastui markdown editor.
2025-08-30 11:15:11 -05:00

28 lines
622 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Toast UI Editor</title>
<!-- Toast UI Editor CSS -->
<link
rel="stylesheet"
href="https://uicdn.toast.com/editor/latest/toastui-editor.min.css"
/>
</head>
<body>
<div id="editor"></div>
<!-- Toast UI Editor JS -->
<script src="https://uicdn.toast.com/editor/latest/toastui-editor-all.min.js"></script>
<script>
const editor = new toastui.Editor({
el: document.querySelector('#editor'),
height: '500px',
initialEditType: 'markdown',
previewStyle: 'vertical'
});
</script>
</body>
</html>