mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-24 09:19:51 +01:00
Copy button for md code blocks (#1902)
Adds a small "copy to clipboard" button in the upper right corner of code blocks in rendered markdown files. Additionally this removes the trailing lines in such code blocks. Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com> Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
This commit is contained in:
3
gradle/changelog/copy_button.yaml
Normal file
3
gradle/changelog/copy_button.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
- type: added
|
||||
description: Add copy button for markdown code blocks ([#1902](https://github.com/scm-manager/scm-manager/pull/1902))
|
||||
|
||||
@@ -151,6 +151,9 @@
|
||||
"importLog": {
|
||||
"title": "Importprotokoll"
|
||||
},
|
||||
"syntaxHighlighting": {
|
||||
"copyButton": "In die Zwischenablage kopieren"
|
||||
},
|
||||
"notifications": {
|
||||
"toastTitle": "Benachrichtigung",
|
||||
"xMore": "+{{ count }} Benachrichtigung",
|
||||
|
||||
@@ -152,6 +152,9 @@
|
||||
"importLog": {
|
||||
"title": "Import Log"
|
||||
},
|
||||
"syntaxHighlighting": {
|
||||
"copyButton": "Copy to clipboard"
|
||||
},
|
||||
"notifications": {
|
||||
"toastTitle": "Notification",
|
||||
"xMore": "+{{ count }} Notification",
|
||||
|
||||
Reference in New Issue
Block a user