grafana / killercoda

This repository holds tutorials designed and hosted on Killercoda and interactive education platform.
https://killercoda.com/
Apache License 2.0
2 stars 4 forks source link

feat: Default to copy syntax for all code blocks that are not in exec shortcut #26

Closed Jayclifford345 closed 1 week ago

Jayclifford345 commented 1 week ago

Suggestion if possible. Code blocks should auto-inherit "Copy" privileges unless I override with telling to make it executable. I.e. in the docs MD, I propose that for "named code blocks" where you're doing triple-backticks and giving it a dialect name (bash, alloy, whatever) -- that the copy START/END directive be optional. I just can't imagine ever putting a code block in the docs that I don't want to be copyable.

jdbaldry commented 1 week ago

Completed in #34