diff options
| author | winter | 2025-02-14 21:24:55 +0000 |
|---|---|---|
| committer | winter | 2025-02-14 21:24:55 +0000 |
| commit | 241eb9eded161671d3d8e5bf4a3f7b04907037f1 (patch) | |
| tree | 25d65d68125b66b545ea24c734a1e81551952524 /templates/write_note_form.php | |
| parent | d10aad87ddebd4857a90b6d638aac803d7373dc6 (diff) | |
make markdown nicer
Diffstat (limited to 'templates/write_note_form.php')
| -rw-r--r-- | templates/write_note_form.php | 5 |
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> |
