opt.: add tip (#380 #382)

This commit is contained in:
lollipopkit
2024-06-10 21:29:41 +08:00
parent 490d71f8c9
commit 3bc03c1364
13 changed files with 47 additions and 16 deletions

View File

@@ -200,9 +200,13 @@ class _SnippetEditPageState extends State<SnippetEditPage>
padding: const EdgeInsets.all(13),
child: SimpleMarkdown(
data: '''
📌 ${l10n.supportFmtArgs}
📌 ${l10n.supportFmtArgs}\n
${Snippet.fmtArgs.keys.map((e) => '`$e`').join(', ')}\n
${Snippet.fmtArgs.keys.map((e) => '`$e`').join(', ')}
${Snippet.fmtTermKeys.keys.map((e) => '`$e+?}`').join(', ')}\n
${l10n.forExample}:
- `\${ctrl+c}` (Control + C)
- `\${ctrl+b}d` (Tmux Detach)
''',
styleSheet: MarkdownStyleSheet(
codeblockDecoration: const BoxDecoration(