-
Notifications
You must be signed in to change notification settings - Fork 289
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
Provide (automatic) Texas variant sample code in html view, hidden by default #526
Comments
Perhaps even just a hover over a unicode operator would show the texas variant? Seems a bit too minor of a change to provide a toggle over whole code blocks for. |
Or even a hover over that has the ascii variant and the codepoint number and/or how to type instructions :) |
Jonathan Stowe said:
I like this idea, FWIW :)
#!/usr/bin/env perl |
I really the idea as well. The "best" would be a racket-style "click on the function or operator and you get the docs for that" |
I am now leaning away from this for two reasons:
|
This ticket is asking for snippets with texas versions of non-texas ops, but we don't have enough examples using non-texas variants for it to be a noticeable problem. For now this is a non-issue, but everyone is welcome to create a PR for this. Also, feel free to reopen or create a new ticket if you have something particular in mind. I'm closing this in favor of #1520. Maybe temporarily, maybe not. But I'm pretty sure that this ticket won't move anywhere unless there's progress on #1520. |
Based on a discussion in #524, it would be great if our public face on all examples (except where specifically showcasing a Texas variant) was the unicode variant; While we've been careful to provide an ASCII alternative in most cases, IMO our public face should show the unicode operators.
However, to help our users, it would be nice if block code samples had a (potentially automatically generated) Texas-safe block, which was able to be toggled. It might even be nice if the user's selection of Texas vs. Unicode was remembered, for those users who eschew unicode.
The text was updated successfully, but these errors were encountered: