Initial Commit for try-toast-ui

Learning about toastui markdown editor.
This commit is contained in:
Waylon Walker 2025-08-30 11:15:11 -05:00
commit a32dedfbc7
4 changed files with 33 additions and 0 deletions

0
.gitignore vendored Normal file
View file

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# try-toast-ui
Learning about toastui markdown editor.

28
index.html Normal file
View file

@ -0,0 +1,28 @@
<!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>

2
justfile Normal file
View file

@ -0,0 +1,2 @@
serve:
python -m http.server 8000