Lollipopkit/issue382 (#383)

This commit is contained in:
lollipopkit🏳️‍⚧️
2024-06-10 21:34:56 +08:00
committed by GitHub
parent edceb5900e
commit 22c43c7124
20 changed files with 208 additions and 41 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(