Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Dont-try-this-at-home codeblocks #1033

Open
davidveen opened this issue Feb 19, 2024 · 1 comment
Open

[Feature Request]: Dont-try-this-at-home codeblocks #1033

davidveen opened this issue Feb 19, 2024 · 1 comment
Assignees
Labels
design enhancement New feature or request

Comments

@davidveen
Copy link

Description

Codeblocks containing pseudocode, conscious errors, or other don't-try-this-at-home ideas are a great teaching tool, but might benefit from a visual indication aside from (con)textual hints. It should be clear enough so that a reader scrolling through code examples doesn't end up copying non-working code or patterns marked as 'bad'.

Describe the solution you'd like

A warning triangle in the corner or a different border would go a long way. Here be dragons! 🐉

Describe alternatives you've considered

No response

@crutchcorn
Copy link
Member

Assigning @PrattiDev as he's our design lead for the site, which is where this would start (Ed, no priority on this; just wanna get your thoughts on this whenever you get time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants