aboutsummaryrefslogtreecommitdiffstats
path: root/src/includes/markdown-editor.php
diff options
context:
space:
mode:
authorkj-sh6042025-04-09 15:18:30 -0400
committerkj-sh6042025-04-09 15:18:30 -0400
commit094bf4e342307fdfa3608bad2110c28d39fd8ff7 (patch)
treedf1a0198c06b90e150faa717f2a817008ae1481e /src/includes/markdown-editor.php
parent8b06732130e315f36ea5ff56e947453a2a816260 (diff)
refactor: directory structure
Diffstat (limited to 'src/includes/markdown-editor.php')
-rw-r--r--src/includes/markdown-editor.php11
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>