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

Get StackOverflow to default to Rust syntax highlighting questions tagged [rust] #15109

Closed
huonw opened this issue Jun 23, 2014 · 5 comments
Closed

Comments

@huonw
Copy link
Member

huonw commented Jun 23, 2014

Currently, code in [rust] questions needs to have an explicit <!-- language: lang-rust --> comment before it in the markdown to have pretty colours (see "Syntax highlighting for code"). Other established language tags automatically imply using that highlighting, it would be nice to work out how to get SO to handle this for Rust.

Example. The old impl block is plain, the new one is coloured.

(It might just be opening a question on meta.stackoverflow.com, not sure; I don't have time to investigate now.)

@zslayton
Copy link
Contributor

After digging around a bit, it appears that Kevin Ballard has already opened a feature request to this effect. Unfortunately, it doesn't seem to have received too much attention. Stack Exchange is suffering a network outage at the moment, but once they're back up I'll post a link to this on /r/rust to see if I can drum up some support for it.

@steveklabnik
Copy link
Member

I upvoted it.

@huonw
Copy link
Member Author

huonw commented Jun 24, 2014

Seems to be done! Yay!

@huonw huonw closed this as completed Jun 24, 2014
@steveklabnik
Copy link
Member

Yup, i got a tweet about it. 🤘

@zslayton
Copy link
Contributor

Woo! That's some good tweeting there, Steve.

bors added a commit to rust-lang-ci/rust that referenced this issue Jul 17, 2023
assist : add enum to glob_import_expand

fixes rust-lang#15109
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants