frontend for bookmark menu

This commit is contained in:
2026-05-30 01:56:25 +03:00
parent 07623b294e
commit 8c87489f70
11 changed files with 256 additions and 11 deletions

View File

@@ -357,7 +357,7 @@ def tag_code(children, attr):
else:
code = input_code
button = f'<button type=button class="copy-code" data-s="copyCode">Copy</button>'
button = f'<button autocomplete=off disabled data-r="enhance" title="This feature requires JavaScript to be enabled." type=button class="copy-code" data-s="copyCode">Copy</button>'
block = f'<fieldset data-r="copyCode" data-code="{input_code}" class="code-block-container plank minimal no-shadow secondary-bg"><legend>{language}</legend>{button}<pre><code>{code}</code></pre></fieldset>'
return block