diff options
| author | kj-sh604 | 2024-12-21 01:46:21 -0500 |
|---|---|---|
| committer | kj-sh604 | 2024-12-21 01:46:21 -0500 |
| commit | 552d06cd7e61c45476c55895422c8ca3d77a9bc6 (patch) | |
| tree | 6236304c52b9b6d96d2be2fe1078a06322f67847 /includes/markdown-editor.php | |
| parent | 8c77e2a9f6b5badf4b78a91a6c04e8c10bea7ce1 (diff) | |
refactor: cleaner codebase and best practices
Diffstat (limited to 'includes/markdown-editor.php')
| -rw-r--r-- | includes/markdown-editor.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/markdown-editor.php b/includes/markdown-editor.php new file mode 100644 index 0000000..fa68bb8 --- /dev/null +++ b/includes/markdown-editor.php @@ -0,0 +1,11 @@ + <div> + <label for="user-input"> + <h2 class="centered">markdown goes here:</h2> + </label> + <form action="index.php" method="post"> + <textarea id="user-input" name="user-input" rows="8" cols="80"><?php echo $_SESSION['user-input'] ?? ''; ?></textarea> + <div class="centered"> + <button type="submit" name="compile">create presentation</button> + </div> + </form> + <br><br> |
