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/reply_form.php | |
| parent | d10aad87ddebd4857a90b6d638aac803d7373dc6 (diff) | |
make markdown nicer
Diffstat (limited to 'templates/reply_form.php')
| -rw-r--r-- | templates/reply_form.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/reply_form.php b/templates/reply_form.php index 6bc35dd..8a9abf5 100644 --- a/templates/reply_form.php +++ b/templates/reply_form.php @@ -30,6 +30,11 @@ $selectedScope = $note->privacy->scope->value; value="<?= $summaryText ?>" placeholder="<?= __('writeNote.summary.label') ?>"> <textarea id="replyContent-<?= $note->id ?>" name="content" required autocomplete="off" placeholder="<?= __('writeReply.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> |
