aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/write_note_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/write_note_form.php')
-rw-r--r--templates/write_note_form.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/write_note_form.php b/templates/write_note_form.php
index 9294a7c..5d86722 100644
--- a/templates/write_note_form.php
+++ b/templates/write_note_form.php
@@ -21,6 +21,11 @@
placeholder="<?= __('writeNote.summary.label') ?>">
<textarea name="content" id="noteContent" required autocomplete="off"
placeholder="<?= __('writeNote.placeholder') ?>"></textarea>
+ <span class="hint">
+ <span class="inlineIcon material-symbols markdown-outline"></span>
+ <?= sprintf(__('writeNote.formattingHint'),
+ '<a href="https://commonmark.org/help/" target="_blank">' . __('writeNote.formattingHint.markdown') . '</a>') ?>
+ </span>
</div>
<details>
<summary><?= __('writeNote.moreOptions') ?></summary>