aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/index.html
diff options
context:
space:
mode:
authorKyle Javier [kj_sh604]2026-03-14 00:39:18 -0400
committerGitHub2026-03-14 00:39:18 -0400
commit674a50f0843ea484ddfc755eb74d79a0988185cd (patch)
tree79fd84aa2451387775ab99a6a4b10b931a94e38c /src/templates/index.html
parentfb7ad061374085aa50ef8347f8d15fcca215b40a (diff)
parentf0763f404bb27923d36b60765ef9936096377a5e (diff)
merge: pull request #3 from kj-sh604/refactor/document-styling-changes
feat: more styling toggles and use the user's sysem's sans-serif, serif, and system-ui fonts
Diffstat (limited to 'src/templates/index.html')
-rw-r--r--src/templates/index.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/templates/index.html b/src/templates/index.html
index 6643d35..490bb82 100644
--- a/src/templates/index.html
+++ b/src/templates/index.html
@@ -28,7 +28,8 @@
<label for="markdown">
<h3>textarea</h3>
</label>
- <textarea id="markdown" name="markdown" rows="16" placeholder="markdown goes here..." required></textarea>
+ <textarea id="markdown" name="markdown" rows="16" placeholder="markdown goes here..." required
+ style="font-family: monospace;"></textarea>
<section id="image-upload-section">
<label for="image"><small>image file</small></label>
@@ -104,6 +105,9 @@
<label>
<input type="radio" name="main_font" value="sans" /> sans-serif
</label>
+ <label>
+ <input type="radio" name="main_font" value="system-ui" /> system-ui
+ </label>
</fieldset>
<label for="line_spacing">Line spacing</label>
@@ -119,7 +123,11 @@
</label>
<label>
- <input type="checkbox" name="disable_syntax_highlighting" value="on" /> disable syntax highlighting for code blocks
+ <input type="checkbox" name="disable_syntax_highlighting" value="on" /> disable syntax highlighting
+ </label>
+
+ <label>
+ <input type="checkbox" name="disable_backgrounds" value="on" /> disable .pdf backgrounds
</label>
</section>