diff options
Diffstat (limited to 'src/includes/markdown-editor.php')
| -rw-r--r-- | src/includes/markdown-editor.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/includes/markdown-editor.php b/src/includes/markdown-editor.php new file mode 100644 index 0000000..fa68bb8 --- /dev/null +++ b/src/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> |
